[Solved]A small bug in wav parser


31-07-2010 13:09:41

Hello, I believe there is a bug in wav file parsing code (both OgreOggStaticWavSound.cpp and OgreOggStreamWavSound.cpp). When determining the sound buffer format, it queries AL_FORMAT_71CHN16 for 7 channel sound and AL_FORMAT_81CHN16 for 8 channel sound. I believe it should be AL_FORMAT_61CHN16 for 7 channels and AL_FORMAT_71CHN16 for 8 channels.


01-08-2010 10:47:56

Thanks, good spot, fixed. :roll: