Im having trouble detecting that a soundfile has actually stopped.
Its a small PCM file (about 4k) and I have tried saving it as an OGG also. IrrKlang always says its playing.
All my other sound files load and work correctly ?
Any pointers ?
FIXED:
Hmmmm ive just tested some more and actually got it to detect. The sound file only plays for 0.02 of a second. If increase this to over 0.03 (inserting silence) it detects.
So seems irrKlang has a problem with tiny sound files.
Its a small PCM file (about 4k) and I have tried saving it as an OGG also. IrrKlang always says its playing.
All my other sound files load and work correctly ?
Any pointers ?
SuperStrict Framework BaH.irrKlangAudio Import BRL.StandardIO Import BRL.GLMax2D SetAudioDriver("irrKlang") Local sound:TSound = LoadSound("Sound.wav", False) Local channel:TChannel = CueSound(sound) ResumeChannel(channel) Graphics 640,480,0 While Not KeyDown(key_escape) DebugLog channel.playing() Wend
FIXED:
Hmmmm ive just tested some more and actually got it to detect. The sound file only plays for 0.02 of a second. If increase this to over 0.03 (inserting silence) it detects.
So seems irrKlang has a problem with tiny sound files.