[Openal] Issue using alutLoadWAVFile with mono pcm data.
earmbrust at xero-soft.com
Wed Sep 21 21:28:43 PDT 2005
I've been trying to track down this issue for 2 days now, but can't seem to
pinpoint any specific cause for the problem. Let me explain:
I am developing a framework for my game(s) and applications using various
libraries, including OpenAL.
I can load stereo WAV files perfectly fine (22,050hz/44,100hz, 16bit, 2
channel), but when i try to load *any* mono WAV file one of two things
happens: either the system becoimes usage becomes so high that inputs
finally stop responding, or the program itself crashes immediately upon the
attempt to play the buffer to which the file was loaded. Am I correct in
assuming that alutLoadWAVFile error reporting is drasticly under-developed?
Is this a common issue, or is this something strange? The issue is the
same, no matter which audio rendering pipeline is selected(ds3d, mmsystem,
ds, etc)I've listed some information about the dev system(s):
OpenAL version: OpenAL-0.099-mingw
gcc version: gcc (GCC) 3.4.2 (mingw-special)
DirectX version: 9.0c(+debug)
CPU: 2.8Ghz Pentium M & AMD Athlon XP 2500+(Barton)
Memory: 512MB DDR and 1024MB DDR respectively
Audio Cards: Sigmatel C-Major Audio, M-Audio Revolution 7.1
GDB won't seem to give anything useful when run (maybe someone would have a
better command line argument set than I am using)
Hopefully someone can help me figure out what's going on..it's a real pain.
More information about the Openal