[sdlsound] Looking for advice for creating proper Sound_AudioInfo

Ryan C. Gordon icculus at clutteredmind.org
Wed Oct 8 09:19:39 EDT 2003


> You mentioned that 8-bit data is always unsigned. Is
> 16-bit data always unsigned? It seems that my only
> option now for the general case is to always convert
> to 16 bit since I can't predetermine the bitdepth
> before load. In this case, should I pick signed or
> unsigned?


AL_FORMAT_MONO8 and AL_FORMAT_STEREO8 are unsigned, AL_FORMAT_MONO16 and 
AL_FORMAT_STEREO16 are signed.

--ryan.





More information about the sdlsound mailing list