Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: xenogia on Mon 27/04/2009 11:26:10

Title: Bug: Sound Issues with Theora (FIXED)
Post by: xenogia on Mon 27/04/2009 11:26:10
Okay I have come across quite an odd bug.

If I play a video using
PlayVideo ("blah.ogv", eSkipNotAllowed, 11);

Then go to play another video with 1 at the end it doesn't play the audio of the video.

And occasionally also what will happen is sometimes if I put the parameter 1 on the video not only does the game music play but the video audio as well.

Interesting bug, is this my doing or something to do with the AGS engine.
Title: Re: Bug: Sound Issues with Theora
Post by: Gilbert on Mon 27/04/2009 12:17:18
Hmmm, have you tried putting a Wait(1) after the first video and see whether the audio of the 2nd played?

My guess is, possibly that after the 1st video ended the video player hasn't been fully reset yet, so it will effect the next video.
Title: Re: Bug: Sound Issues with Theora
Post by: xenogia on Mon 27/04/2009 12:38:19
I've tried it with multiple videos and it still happens, even when i change rooms.  The thing is if you play a video file muting the audio, it will happen with all videos from there on even if you request the audio to be played within the video.  I am guessing this is an ogg theora routine issue.
Title: Re: Bug: Sound Issues with Theora
Post by: Pumaman on Mon 27/04/2009 18:09:40
Interesting, I will see if I can replicate this.
Title: Re: Bug: Sound Issues with Theora
Post by: xenogia on Mon 27/04/2009 22:25:22
Thanks Chris, hopefully you can replicate the issue.
Title: Re: Bug: Sound Issues with Theora
Post by: Pumaman on Sun 09/08/2009 00:26:55
Sorry for the delay, I have replicated the problem and it is now fixed in 3.2 beta 4.