Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Crimson Wizard on Fri 25/12/2009 18:03:20

Title: AGS 3.2 RC2 - Possible bug related to missing audio clip
Post by: Crimson Wizard on Fri 25/12/2009 18:03:20
AGS 3.2 RC2 manual states:

Quote
readonly bool AudioClip.IsAvailable;

Gets whether this audio clip is available on the player's system.
This will normally be true, unless the clip was bundled in the external AUDIO.VOX file and the player does not have the file on their system.

You do not normally need to check this property, since the Play command will silently fail if it cannot find the audio clip to play.

However, if I remove VOX from game's folder, game crashes:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00407C4B ; program pointer is +1004, ACI version 3.20.1099, gtags (0,49)



Just in case:
This happen if I write Audio.Play.
This does not happen if I make IsAvailable check first.

So, either it is a bug, or manual is wrong.
Title: Re: AGS 3.2 RC2 - Possible bug related to missing audio clip
Post by: Pumaman on Tue 05/01/2010 22:34:22
Thanks for reporting this, I'll see if I can reproduce the problem.