[Openal] Problems playing certain Ogg files with OpenAL Soft

Chris Robinson chris.kcat at gmail.com
Thu Jul 10 18:10:37 PDT 2008


On Thursday 10 July 2008 01:00:55 pm Stevens, Peter wrote:
> Im having problems playing certain multi-channel ogg files. So far I've
> tracked the problem down to openal soft detecting that my audio buffer
> does not contain the same amount of data per channel ; internally openal
> soft is performing "(size % (bytesPerChannel * numChannels))==0" which
> is returning non-zero. The strange thing is that the wav channels are
> all clipped to be the same length. I'm wondering if the issue is with
> the ogg vorbis libraries; had anybody had any similar issues?

I can't say I've heard or seen issues like that (that wasn't due to errors in 
my own lading code, anyway). Can you paste your code? If the channel data is 
unaligned, which would be odd (don't think many encoders would allow that), 
you may need to clip the last frame so each channel has the same number of 
samples.


More information about the Openal mailing list