Not all sounds playing with GLBasic V9

Previous topic - Next topic

Millerszone

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.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello


Millerszone

 :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.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Millerszone

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.

Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

oh bad. Can you try loading one (the same) sound into many slots and see if it stops playing for some special number?

Millerszone

#5
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
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello


Millerszone

Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5