GNOME Bugzilla – Bug 86331
CDDA playing useful for some sparc machines
Last modified: 2005-08-15 01:58:26 UTC
As noted in bugid 84771 gnome cd won't work on some newer Sun workstations. This is because there is no internal audio cable connecting the sound card with the cd player. On some systems lacking this connection, you can connect a male/male mini plug cable from the headphone jack on the front of the system to the line-in jack on the back of the system, and set the audio device to monitor the line-in. On newer systems, there is no headphone line-out on the cdrom drive, so this won't work either. xmcd addresses this problem by using CDDA playback. Check out the xmcd source code for more information - http://www.ibiblio.org/tkan/xmcd/config.html has a few more points. The system I'm using is a SunBlade 2000 with a Sun branded Toshiba SD - M140-11009 dvd/cdrom combo. I'm attaching the xmcd configuration file that works on this machine with xmcd 3.1 pl1
Created attachment 9422 [details] xmcd configuration file containing tech. detail on this drive type.
It's also useful for iBooks too. Thanks, I'll hopefully do this sometime
Iain: I am uploading a patch for getting the audio output from gnome-cd through the sound card in machines that does not have the audio cable from the cdrom drive to the sound card.
Created attachment 11086 [details] [review] patch for this bug
I'd prefer just to wait until we get the GStreamer way to do this on all machines rather than just on Solaris.
Maybe we should add this patch for 2.4.x and make it use gstreamer for 2.6.x?
Patch to consider, Ted (though Iain didn't like it.) I know that Ross Burton (ross@burtonini.org) has also looked at this issue and believes his code could be useful to port gnomecd to.
i've added gstreamer support in gnome-cd and have it working pretty nicely on my G4 powerbook (which also has the no cdrom->soundcard cable problem). my approach was to add an additional cd type (there is already solaris-cdrom.c and linux-cdrom.c). i have gst-cdparanoia-cdrom.c. aside from this file, there is a little gstreamer initialization stuff that's added in main(), but those are the extent of the changes. i'll try and get this cleaned up tonight and attach it here.
Created attachment 22748 [details] [review] this patch adds gstreamer support into gnome-cd to support cdda
just posted the patch. an interesting thing would be to know if i can "derive" from a LinuxCDRom. if this were the case, i could get rid of a lot of code, since aside from the get_status and play functions, most of the code is identical to linux-cdrom.c.
Adding the portability keyword and increasing priority to high because of the new patch.
Ted is this updated patch ok? Or are you not merging it due to freeze for 2.6?
Given that the patch is duplicated in 51152 and that bug was first, I'm dupping this... *** This bug has been marked as a duplicate of 51152 ***