Page 1 of 1

Missing of UseOGGSoundDecoder() is not noticed by the debugger

Posted: Mon Jan 15, 2024 9:37 am
by Lebostein
I forgot UseOGGSoundDecoder() when loading ogg files. The Debugger was just silent. I was wondering about the graphics errors and the strange behavior of my program and it took a while to find the cause.

Re: 6.10 b2 - Missing of UseOGGSoundDecoder() is not noticed by the debugger

Posted: Mon Jan 15, 2024 10:18 am
by Fred
LoadSound() should returns 0 if not loaded, or did something else happened ?

Re: 6.10 b2 - Missing of UseOGGSoundDecoder() is not noticed by the debugger

Posted: Mon Jan 15, 2024 11:05 am
by Lebostein
Fred wrote: Mon Jan 15, 2024 10:18 am LoadSound() should returns 0 if not loaded, or did something else happened ?
Strange things in my case, but it seems it's all because LoadSound returned 0. I haven't checked the return from LoadSound.
In this case it probably wasn't a bug.