Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: left on Wed 27/04/2005 14:08:12

Title: Illegal exception when seeking mp3pos
Post by: left on Wed 27/04/2005 14:08:12
Hello, i'm trying to use the seekmp3pos function, i am seeking 30 secs into a track so i use (30000) as the number of millisecs to seek. This works fine when i skip to the room using ctrl x, however when the room loads normally it produces this error

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0042EB06 ; program pointer is +1004, ACI version 2.62.772, gtags (100,181)

i have tried putting the following code

PlayMP3File("Lay_Me_Down.mp3");
SeekMP3PosMillis(30000);

into b4fade, afterfade and when player enters screen all with similar results

any ideas?

thanks left
Title: Re: Illegal exception when seeking mp3pos
Post by: strazer on Wed 27/04/2005 14:12:17
Have you tried another mp3 file?