SMPEG Select Audio Device

Hi

Is it possible to tell SMPEG which audio device to use in a machine with
more than one soundcard?

Thanks,

Steve Lupton**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com


— Steve Lupton wrote:

Hi

Is it possible to tell SMPEG which audio device to
use in a machine with
more than one soundcard?

Thanks,

Steve Lupton

Hmm… I don’t know about having SDL handle more than
one sound card, but you can redirect the output of
SMPEG by setting a callback with the SMPEG_playAudio()
callback which must be called every time the sound
buffer needs more data (this is how the movie stays in
sync with the audio)… It is VERY IMPORTANT to pass 0
as the sdl_audio parameter when calling SDL_new() if
you plan on handeling audio yourself.

-Loren__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better