LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2004, 10:45 AM   #1
CAL
Member
 
Registered: Apr 2004
Location: California
Distribution: Fedora Core 2
Posts: 31

Rep: Reputation: 15
I cannot hear my CDs playing in RedHat 9


Hey all,

I am becoming each day more familiar and comfortable with Linux. I really am loving its novelty in my life. That said, one thing that is confusing the heck out of me is that I don't know what is wrong with my configuration because I cannot hear the audio from my CDs. I have the following:

Sony CD-R/RW 52x24x52
Sound Blaster Audigy 2 (using the SB Audigy driver)

Yes, I can listen to sound from .wav files and .mp3s etc. However, I cannot hear my CDs when I try to play them from the generic CD player, or grip. I do not have the CD player plug-in for XMMS, although I think that the problem is with my setup. Any suggestions?

Oh, by the way, yes my volume control settings are all enabled, so the problem cannot be that I have its volume muted.

Thanks again.
 
Old 05-23-2004, 03:14 PM   #2
someone
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
I had the same problem. It happens because Linux uses hardware decoding aka the cdrom drive decodes the cd into audio. To fix it you will need to run an audio cable to your motherboard(if the sound card is built in) or sound card(if the sound card is on a pci slot). A cable should have come with your cdrom drive.

FYI: Even w/o the cable windows will allow you to play cds because it uses software decoding.
 
Old 05-23-2004, 03:20 PM   #3
Whiteghost
Member
 
Registered: Apr 2003
Distribution: red hat 9.0
Posts: 50

Rep: Reputation: 15
test
 
Old 05-23-2004, 04:13 PM   #4
CAL
Member
 
Registered: Apr 2004
Location: California
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
IRT#3

Good one, is that a joke or a Sounds threatening in a cool way. How did you do it?
 
Old 05-23-2004, 04:38 PM   #5
someone
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
its a special audio cable that attaches to jumpers. its easy to do.
read this thread for more info:
http://www.linuxquestions.org/questi...hreadid=179767

Last edited by someone; 05-23-2004 at 04:39 PM.
 
Old 05-24-2004, 02:20 AM   #6
CAL
Member
 
Registered: Apr 2004
Location: California
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
I don't know WTF is wrong, but I have a feeling it is the Linux drivers. I am running a SoundBlaster Audigy 2.

I tried the audio cable on my soundcard, but it did not work. I was so desparate and experimental that I tried it in all three slots:

TAD
CD IN
AUX IN

It did not work in any of these slots. Next, I tried using my onboard motherboard CD IN slot, by enabling my generic onboard sound. To my surprise, I was ablet to hear the CD playing, but I could only hear volume out of my rear two speakers. Besides, I spent good money on my Audigy 2, and I would prefer to be using that card anyway. I don't know what to do next. The only thing I can think of is acquiring a CD SPDIF cable to try connecting that. Maybe that will work, because there is one of those slots on my Audigy 2.

Otherwise, does anybody suggest that I use a different Sound Driver?

-CAL
 
Old 05-24-2004, 02:44 AM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The XMMS Cd-read plugin will work, as it does software decoding. This way you will be able to use your expensive soundcard, rather than the onboard sound.
Get it from http://www.xmms.org.

--Ian
 
Old 05-24-2004, 04:01 AM   #8
CAL
Member
 
Registered: Apr 2004
Location: California
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
I can't seem to get the XMMS plug-in to work. Here is an error log:

/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"xmms-cdread\" -DVERSION=\"0.12c\" -DSTDC_HEADERS=1 -DHAVE_LINUX_CDROM_H=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_GLOBAL_PLAYLIST_DELETE_NODE=1 -I. -I/root/.gnome-desktop/xmms-cdread-0.12c -O2
-W -Wall -Wno-unused -I. -I/root/.gnome-desktop/xmms-cdread-0.12c -I/usr/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -c /root/.gnome-desktop/xmms-cdread-0.12c/cdread.c
gcc -DPACKAGE=\"xmms-cdread\" -DVERSION=\"0.12c\" -DSTDC_HEADERS=1 -DHAVE_LINUX_CDROM_H=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_GLOBAL_PLAYLIST_DELETE_NODE=1 -I. -I/root/.gnome-desktop/xmms-cdread-0.12c -O2 -W -Wall -Wno-unused -I. -I/root/.gnome-desktop/xmms-cdread-0.12c -I/usr/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include
-c -fPIC -DPIC /root/.gnome-desktop/xmms-cdread-0.12c/cdread.c -o cdread.lo
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:22:25: xmms/plugin.h: No such file or directory
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:36:23: xmms/util.h: No such file or directory
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:68: parse error before "cd_ip"
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:68: warning: type defaults to `int' in declaration of `cd_ip'
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:68: warning: data definition has no type or storage class
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:88: parse error before '*' token/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:90: warning: return type defaults to `int'
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `get_iplugin_info':/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:92: request for member `description' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:93: request for member `init' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:94: request for member `configure' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:95: request for member `is_our_file' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:96: request for member `scan_dir' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:97: request for member `play_file' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:98: request for member `stop' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:99: request for member `pause' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:100: request for member `seek' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:101: request for member `get_time' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:102: request for member `get_song_info' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:103: request for member `file_info_box' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:107: request for member `set_eq' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `action_wait':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:119: warning: implicit declaration of function `xmms_usleep'
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `cd_read_loop':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:281: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:292: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:314: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:316: request for member `add_vis_pcm' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:316: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:317: `FMT_S16_LE' undeclared (first use in this function)
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:317: (Each undeclared identifier is reported only once
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:317: for each function it appears in.)
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `cd_play_file':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:489: request for member `set_info' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:504: request for member `get_volume' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:505: request for member `set_volume' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:521: request for member `get_volume' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:522: request for member `set_volume' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:523: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:523: `FMT_S16_LE' undeclared (first use in this function)
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `cd_stop':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:582: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `cd_pause':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:598: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c: In function `cd_get_time':
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:635: request for member `output' in something not a structure or union
/root/.gnome-desktop/xmms-cdread-0.12c/cdread.c:636: request for member `output' in something not a structure or union
make: *** [cdread.lo] Error 1

Last edited by CAL; 05-24-2004 at 08:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't hear CDs oneandoneis2 Linux - General 7 06-24-2005 09:14 AM
Can't hear ripped songs, but can hear CDs play quaff Linux - General 20 09-24-2004 09:59 AM
CD is playing, but i can't hear anything simpleman07 Linux - General 19 08-11-2004 11:27 PM
Can't hear sound from playing cd UndieingHacker Linux - General 3 05-16-2004 08:50 PM
I can hear mp3s but not CDs - help keymoo Linux - General 6 01-14-2002 08:16 PM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration