[Openal] reading and playing a raw file

angelo angelo70 at gmail.com
Tue Feb 10 02:51:30 PST 2009


Hi all,

i am trying to read and play a recorded raw file, 8Khz, 16bit x sample mono.

I am using "alutCreateBufferFromFile" since it is helpful, and it is 
working fine with a regular wav file.
If i try to open a recorded raw file (samples only, no headers,generted 
through "alcCaptureSamples"), "alutCreateBufferFromFile" seems to load 
it, but once played a bad sound is heard.

any help is really appreciated.
Angelo


More information about the Openal mailing list