Missing of UseOGGSoundDecoder() is not noticed by the debugger

Just starting out? Need help? Post your questions and find answers here.
Lebostein
Addict
Addict
Posts: 840
Joined: Fri Jun 11, 2004 7:07 am

Missing of UseOGGSoundDecoder() is not noticed by the debugger

Post 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.
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

LoadSound() should returns 0 if not loaded, or did something else happened ?
Lebostein
Addict
Addict
Posts: 840
Joined: Fri Jun 11, 2004 7:07 am

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

Post 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.
Post Reply