Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: EnterTheStory (aka tolworthy) on Sat 27/09/2008 12:40:01

Title: ogg playback frequency: any issues? (SOLVED)
Post by: EnterTheStory (aka tolworthy) on Sat 27/09/2008 12:40:01
If I save an OGG file at a non-standard frequency (say, 48 kHz instead of 44.1 kHz, or something arbitrary like 1234 Hz) and it plays perfectly on my computer, does that guarantee it will play perfectly on every other  computer as well?

Please forgive the ignorant question, but I have no idea how the OGG library works.
Title: Re: ogg playback frequency: any issues?
Post by: Pumaman on Sat 27/09/2008 15:39:23
AGS uses a built-in OGG decoder, so it doesn't rely on any Windows components to play the file.

Therefore, if the file plays perfectly within AGS on your computer, it should play the same way on any other computer.
Title: Re: ogg playback frequency: any issues?
Post by: EnterTheStory (aka tolworthy) on Sat 27/09/2008 20:55:19
Thanks for the clarification. Much appreciated.
Title: Re: ogg playback frequency: any issues? (SOLVED)
Post by: GarageGothic on Sat 27/09/2008 21:20:33
CJ: Slightly off-topic, but this reminded me that Ghostlady experienced problems with certain formats of .mp3 files not playing. I recommended her to contact you, but I'm not sure if she did so. She did report the issue in my jigsaw module thread (http://www.adventuregamestudio.co.uk/yabb/index.php?action=profile;u=3815) though. We eventually solved it by using .ogg instead, but I have the original .mp3 files that I can send to you if you want to check it out. Maybe it can't be fixed, but it would be nice if any incompatibility was mentioned in the manual so people didn't spend time troubleshooting their code instead.
Title: Re: ogg playback frequency: any issues? (SOLVED)
Post by: Pumaman on Sun 28/09/2008 13:56:13
There have been some issues with a few MP3's not playing properly in the past, but it seems to be down to the MP3 decoder being a bit dodgy, or not handling corrupt files very well.

Because of the licensing issues with MP3, it's recommended that you use OGG anyway which is why I haven't spent much time investigating.