TheoraVideoClip::setAudioGain is causing the crash..
Brought to you by:
kspes
Hi guys,
I am new to this site but I am using Theora playback library from last few months. I am using it for rendering video in OGRE.
Library works fine, I am satisfied with the result about video and audio, but when I audio works only when Audio Gain is "1.0f", if I set audio gain below 1.0f the application throws exception as shown below :
"First-chance exception at 0x0038d1b9 in MyApplication.exe: 0xC0000005: Access violation reading location 0xfdfdfdfd."
I am using windows platform with Visual Stuios 2008 professional..
We need urgent fix for this problem ASAP..
We are hoping urgent fix, Please.
Thank you.
rakeshj.
rakeshcjadav@gmail.com
Hi Rakesh,
Really? I'll investigate immediately! Thanks for the report :)
Rakesh, there's nothing wrong in libtheoraplayer, maybe you're having bugs in your audio wrapper code? Are you using the OpenAL example code or something else?
The only place I can see a potential crash is in your implementatio of addAudioPacket() in the audio interface class. Check there and check any calls to getAudioGain().
In my OpenAL implementation in svn, changing gain works good. Let me know if you find anything please, thanks!