We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 224

Summary: no audio-cd when a driver is mounted
Product: SDL Reporter: Henrik Kretzschmar <henne>
Component: cdromAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.8   
Hardware: x86   
OS: Linux   

Description Henrik Kretzschmar 2006-05-10 07:23:55 UTC
I've tried to play a game under dosbox, which has a data section and audio-tracks on the cd.
If the game-cd is mounted the cd-audio sound doesn't work. It seems to me that SDL cant access to audio track on a mounted drive. I've written a little proggy, which plays cd-audios 
and it worked, when the drive is not mounted
and it worked not, when the drive is mounted.

:)

My configuration:

AMD Athlon64 3000+
SuSE 10.0 x86_64
Kernel 2.6.17-rc3
DOSBOX 0.63
SDl-1.2.8-8 (rpm)
SDL-devel-1.2.8-8 (rpm)
SDL-32bit-1.2.8-8 (rpm)
SDL-devel-32bit-1.2.8-8 (rpm)
Comment 1 Sam Lantinga 2006-05-10 10:52:11 UTC
This is a hardware limitation.  The CD audio can't play while the drive is simultaneously seeking to data tracks.
Comment 2 Henrik Kretzschmar 2006-05-10 11:23:26 UTC
Aye, I see.
The game "Das schwarze Auge 1 - Schicksalsklinge" also known as "Realms of Arkania1 - Blade of destiny" installs it's game data files (8MB) on harddisk and
while starting the game it looks with some filesystem calls if the data is available (mounted). If not it prints an error message to put a cd into the drive.
When that check is done the cd is only acessed as cd-audio.

So the problem is explaint, but so solution insight.

Greets,
Henne