Hello,
I try to call SDL_OpenAudio() with SDL_AudioSpec::format == AUDIO_F32SYS.
However, SDL_OpenAudio() ignores my desired format, and always returns AUDIO_S32
SYS.
Any idea would be appreciated.
Thanks.
Hello,
I try to call SDL_OpenAudio() with SDL_AudioSpec::format == AUDIO_F32SYS.
However, SDL_OpenAudio() ignores my desired format, and always returns AUDIO_S32
SYS.
Any idea would be appreciated.
Thanks.
Perhaps it’s just not supported by your OS or Audiosystem. More
information on OS/Version/Audiosystem/etc might be helpful.Am 03.03.2010 12:47, schrieb Igor R.:
Hello,
I try to call SDL_OpenAudio() with SDL_AudioSpec::format == AUDIO_F32SYS.
However, SDL_OpenAudio() ignores my desired format, and always returns AUDIO_S32
SYS.Any idea would be appreciated.
–
Christoph Nelles
E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723
PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt
I try to call SDL_OpenAudio() with SDL_AudioSpec::format == AUDIO_F32SYS.
However, SDL_OpenAudio() ignores my desired format, and always returns
AUDIO_S32SYS.Perhaps it’s just not supported by your OS or Audiosystem. More
information on OS/Version/Audiosystem/etc might be helpful.
The OS is WinXP-SP3. How can I know what audiosystem SDL uses?
Thanks!
The OS is WinXP-SP3. How can I know what audiosystem SDL uses?
We don’t support float32 on Windows. I think it’s only filled in for Mac
OS X at the moment.
You SHOULD be able to open the audio device for float32 and have SDL
convert it to whatever Windows wants, though. Specify a NULL for the
second argument of SDL_OpenAudio() to tell SDL that you absolutely must
have Float32 format.
–ryan.