[SDL] Re: Re: Re: !!! Truoble with play SCSI Emulation and CD Rom
Fabio Giovagnini
fgiovag at tin.it
Fri Jun 29 00:28:33 PDT 2001
Thanks a lot. I needed a so deep explanation. I'll do everything and I 'll
give you informations.
Regards
Ryan C. Gordon wrote:
>
>> >> without SCSI emulation option everything works good, so I'm sure the
>> >> cable is connected.
>
> 1) Does the CD-ROM spin up as if it were playing when you call
> SDL_CDPlay(), but doesn't output any sound? Or does the disk do nothing
> at all?
>
> 2) You DID call SDL_Init(SDL_INIT_CDROM), right?
>
> 3) You DID call SDL_CDOpen() and SDL_CDStatus() before playing a music
> track, right?
>
> 4) There were no errors reported by SDL_Init(), SDL_CDOpen(), or
> SDL_CDStatus() before you tried to play a music track, right?
>
> 5) You aren't calling SDL_CDPlay() when you really mean
> SDL_CDPlayTracks(), right?
>
> 5) There's nothing else trying to use the CD at the same time (like
> X-CD-Roast) sitting in the background, right?
>
> 6) Are other programs on your system (xmms, grip, etc) capable of playing
> CD audio when you are using the SCSI emulation?
>
> 7) What kernel version are you using?
>
> I just tried a quick-and-dirty SDL program here, and it could play CD
> audio, and I'm using SCSI emulation, too.
>
> The program I wrote is here:
> http://www.icculus.org/misc/testsdlcd.c
>
> Download that, compile it:
>
> gcc -o testsdlcd `sdl-config --cflags` `sdl-config --libs` testsdlcd.c
>
> run it:
>
> ./testsdlcd
>
> ...and let me know if it works. Then we can start debugging. :)
>
> --ryan.
>
>
>
More information about the SDL
mailing list