Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.