! Truoble with play SCSI Emulation and CD Rom!

Hi,
I’m trying to write a little test application for mai CD-ROM. It is a
CD-Writer so I have to use SCSI emulation to use CD-record. Good, when I use
SCSI emulation I’m not able to start SDL_CDPlay(): the software say
everything works but I can’t listen anything.

Any Ideas?

Thanks.

Have you tried playing a CD in any other programs?

If it doesn’t work in anything else either then open up your computer and check that there is a cable running from the back of your cdrom to your sound card.
I am pretty sure this is needed when you play music direct from the CD.

James.

At 00:40 27/06/01 -0700, you wrote:>Hi,

I’m trying to write a little test application for mai CD-ROM. It is a
CD-Writer so I have to use SCSI emulation to use CD-record. Good, when I use
SCSI emulation I’m not able to start SDL_CDPlay(): the software say
everything works but I can’t listen anything.

Any Ideas?

Thanks.

without SCSI emulation option everything works good, so I’m sure the cable
is connected.
Thank you.

“James Taylor” ha scritto nel messaggio
news:5.0.2.1.0.20010627171615.00ae2db0 at pop.ca.com.au

Have you tried playing a CD in any other programs?

If it doesn’t work in anything else either then open up your computer and
check that there is a cable running from the back of your cdrom to your
sound card.
I am pretty sure this is needed when you play music direct from the CD.

James.

At 00:40 27/06/01 -0700, you wrote:

Hi,
I’m trying to write a little test application for mai CD-ROM. It is a
CD-Writer so I have to use SCSI emulation to use CD-record. Good, when I
use> >SCSI emulation I’m not able to start SDL_CDPlay(): the software say

everything works but I can’t listen anything.

Any Ideas?

Thanks.

Which operating system?
Win32 CDROM driver in SDL does not work with Win2k or WinME. It should be
updated (that’s in my personal SDL todo list)—
Giovanni Bajo
Lead Programmer

Protonic Interactive
www.protonic.net

  • Black holes are generated when God divides by zero -

-----Messaggio originale-----
Da: owner-sdl at lokigames.com [mailto:owner-sdl at lokigames.com]Per conto di
Fabio Giovagnini
Inviato: mercoled? 27 giugno 2001 12.01
A: sdl at lokigames.com
Oggetto: [SDL] Re: !!! Truoble with play SCSI Emulation and CD Rom !!!

without SCSI emulation option everything works good, so I’m sure the cable
is connected.
Thank you.

“James Taylor” ha scritto nel messaggio
news:5.0.2.1.0.20010627171615.00ae2db0 at pop.ca.com.au

Have you tried playing a CD in any other programs?

If it doesn’t work in anything else either then open up your
computer and
check that there is a cable running from the back of your cdrom to your
sound card.
I am pretty sure this is needed when you play music direct from the CD.

James.

At 00:40 27/06/01 -0700, you wrote:

Hi,
I’m trying to write a little test application for mai CD-ROM. It is a
CD-Writer so I have to use SCSI emulation to use CD-record.
Good, when I
use

SCSI emulation I’m not able to start SDL_CDPlay(): the software say
everything works but I can’t listen anything.

Any Ideas?

Thanks.

Linux. Give me informations if you have.

Thanks.

Giovanni Bajo wrote:> Which operating system?

Win32 CDROM driver in SDL does not work with Win2k or WinME. It should be
updated (that’s in my personal SDL todo list)


Giovanni Bajo
Lead Programmer

Protonic Interactive
www.protonic.net

  • Black holes are generated when God divides by zero -

-----Messaggio originale-----
Da: owner-sdl at lokigames.com [mailto:owner-sdl at lokigames.com]Per conto di
Fabio Giovagnini
Inviato: mercoled? 27 giugno 2001 12.01
A: sdl at lokigames.com
Oggetto: [SDL] Re: !!! Truoble with play SCSI Emulation and CD Rom !!!

without SCSI emulation option everything works good, so I’m sure the
cable is connected.
Thank you.

“James Taylor” ha scritto nel messaggio
news:5.0.2.1.0.20010627171615.00ae2db0 at pop.ca.com.au

Have you tried playing a CD in any other programs?

If it doesn’t work in anything else either then open up your
computer and
check that there is a cable running from the back of your cdrom to your
sound card.
I am pretty sure this is needed when you play music direct from the CD.

James.

At 00:40 27/06/01 -0700, you wrote:

Hi,
I’m trying to write a little test application for mai CD-ROM. It is a
CD-Writer so I have to use SCSI emulation to use CD-record.
Good, when I
use

SCSI emulation I’m not able to start SDL_CDPlay(): the software say
everything works but I can’t listen anything.

Any Ideas?

Thanks.

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?

  6. There’s nothing else trying to use the CD at the same time (like
    X-CD-Roast) sitting in the background, right?

  7. Are other programs on your system (xmms, grip, etc) capable of playing
    CD audio when you are using the SCSI emulation?

  8. 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. :slight_smile:

–ryan.

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?

  6. There’s nothing else trying to use the CD at the same time (like
    X-CD-Roast) sitting in the background, right?

  7. Are other programs on your system (xmms, grip, etc) capable of playing
    CD audio when you are using the SCSI emulation?

  8. 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. :slight_smile:

–ryan.