GLBasic forum

Main forum => Bug Reports => Topic started by: Millerszone on 2011-Feb-09

Title: Not all sounds playing with GLBasic V9
Post by: Millerszone on 2011-Feb-09
Upgraded to GLBasic version 9 this morning and now some of the sounds are not playing on the iPad, all is ok on the PC.
The sounds worked fine with the beta version.

I'm using .wav files.
Title: Re: Not all sounds playing with GLBasic V9
Post by: Kitty Hello on 2011-Feb-09
some means - some do!?
Title: Re: Not all sounds playing with GLBasic V9
Post by: Millerszone on 2011-Feb-09
 :bed:
Quote from: Kitty Hello on 2011-Feb-09
some means - some do!?
Yes, I have a total of 25 sounds, but now 10 sounds don't play.
I'll check to see if the format is different on the sounds that don't play.
Title: Re: Not all sounds playing with GLBasic V9
Post by: Millerszone on 2011-Feb-10
I did a few test.

I re-installed glbasic 8.232 and all sounds work ok.

I also moved one of the sounds that didn't play in 9.001 to the
beginning of the program, and now the sound played ok.

Hope this helps a little.

Title: Re: Not all sounds playing with GLBasic V9
Post by: Kitty Hello on 2011-Feb-10
oh bad. Can you try loading one (the same) sound into many slots and see if it stops playing for some special number?
Title: Re: Not all sounds playing with GLBasic V9
Post by: Millerszone on 2011-Feb-10
I found the problem. I was accidentally loading one of the sounds twice with identical ID numbers.
So when the duplicate sound loaded(LOADSOUND), it cleared all the sounds that loaded before it.

Gernot, did you find out the problem with LOADSOUND "", 1, 1 not clearing the sound from memory on the iPad?

Thanks
Title: Re: Not all sounds playing with GLBasic V9
Post by: Kitty Hello on 2011-Feb-10
Yes, that's fixed with 9.x
Title: Re: Not all sounds playing with GLBasic V9
Post by: Millerszone on 2011-Feb-10
Thanks.