Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ali on Tue 30/08/2022 17:35:52

Title: Audio slowing down in full screen only
Post by: Ali on Tue 30/08/2022 17:35:52
Hello!

Sorry to drop in with such a broad question, but I've searched the forums and can't find any reports of a similar issue. Someone playing Nelly Cootalot: Spoonbeaks Ahoy! is having a problem with the audio slowing down, but only when they play in full screen. I've never experienced anything like that with AGS and I was wondering if it rings a bell for anyone? Here's their report, for reference:

QuoteAudio bug?
I haven't seen this reported anywhere, but I'm experiencing an issue with the audio: after a couple minutes I play, it becomes distorted and slowed down. It makes it impossible to play the game (except muted). Is there a fix? I'm playing full screen with headphones btw.

EDIT: Apparently, the bug only happens in full screen. If I play windowed, the audio is fine. It's unfortunate, though, I was hoping I could play full screen, being a HD version and all.

Please let me know if you have any thoughts!

Thanks,

Al
Title: Re: Audio slowing down in full screen only
Post by: Crimson Wizard on Tue 30/08/2022 17:40:38
Please tell, which version of AGS is this game compiled with?
Title: Re: Audio slowing down in full screen only
Post by: Ali on Tue 13/09/2022 09:11:14
Sorry for the slow reply - I had to check with the programmer who compiled it, and there were delays! It was built with AGS version 3.4.1.14.
Title: Re: Audio slowing down in full screen only
Post by: eri0o on Tue 13/09/2022 23:09:12
I remember old AGS versions, I think with software driver, did the image resizing in software, and when doing that it slowed down the frames AND when not using threaded audio this could cause the sound to sound weird, but I only had observed that in slower computers on Linux at the time.

I don't know details but the person could play the game using ScummVm, a newer version of AGS or if the savefiles of that version is compatible with current AGS, it could ship with a later version.
Title: Re: Audio slowing down in full screen only
Post by: Ali on Wed 21/09/2022 09:49:28
I've just managed to hear back from the player with the problem. Sadly, it's not the software renderer, they're using Direct 3D. I've never experienced a slow-down like this with AGS, so I just don't know what to advise.
Title: Re: Audio slowing down in full screen only
Post by: Crimson Wizard on Wed 21/09/2022 15:23:40
Unfortunately it's been too long to remember anything particular about 3.4.1.

One thing that I would test is which audio driver they have selected in setup. I recall there was a driver selection on Windows, and some choices could work not well, causing sound corruption etc.

Another thing, that version should have a "threaded audio" checkbox, is it on or off, and will there be any difference?
Title: Re: Audio slowing down in full screen only
Post by: Ali on Sat 24/09/2022 19:40:01
I'm afraid I don't have that info yet, but seemingly I misunderstood the problem. Everything including the audio seems to be slowing down. I didn't realise quite how out of date 3.41 is - sorry!
Title: Re: Audio slowing down in full screen only
Post by: Crimson Wizard on Sat 24/09/2022 20:10:55
Quote from: Ali on Sat 24/09/2022 19:40:01I'm afraid I don't have that info yet, but seemingly I misunderstood the problem. Everything including the audio seems to be slowing down.

Could be the system is running out of memory?

Another thing that comes to mind, antiviruses don't like it when AGS reads sounds packed within the exe, there have been a case when an AV began scanning game process over and over each time it tried to load a sound clip.