[Bug 122524] New: kio_audiocd status update affects audio CD playback
Ingo van Lil
inguin at gmx.de
Wed Feb 22 23:01:42 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: kio_audiocd status update affects audio CD playback
Platform: Compiled Sources
AssignedTo: kde-multimedia kde org
ReportedBy: inguin gmx de
Version: (using KDE KDE 3.5.1DevelKDE 3.4.3)
Installed from: Compiled From SourcesCompiled From SourcesGentoo Packages
Compiler: gcc 3.3.6
I noticed a pretty annoying bug when the KDE desktop device icons are enabled: Whenever I mount or unmount anything (no matter wheter I use the desktop icon or just enter the mount command in a terminal) while playing back an audio CD (which I do most of the time) the CD playback immediately skips to another track or even stops. I'm not using digital audio playback, I'm just sending a play command to the drive and let it do all the work.
I placed serveral debug messages into the kernel cdrom driver and did a lot of source code digging and I'm pretty sure I found the reason for this unusual behaviour: The kio_audiocd slaves calls cdda_open() from the cdparanoia library on any CD drive that contains an audio CD. cdda_open() reads several parameters for the given device and finally performs a single digital audio read (CDROMREADAUDIO ioctl in Linux) to make sure it can successfully use the device. Unfortunately this read operation causes rather unpleasant effect if the drive is already busy playing an audio CD.
I really wonder why nobody seems to have complained about this problem by now. Has everybody switched to digital playback already?
More information about the kde-multimedia