Author Topic: Not all sounds playing with GLBasic V9  (Read 2476 times)

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
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.
« Last Edit: 2011-Feb-09 by 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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10816
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Not all sounds playing with GLBasic V9
« Reply #1 on: 2011-Feb-09 »
some means - some do!?

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: Not all sounds playing with GLBasic V9
« Reply #2 on: 2011-Feb-09 »
 :bed:
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

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: Not all sounds playing with GLBasic V9
« Reply #3 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.

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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10816
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Not all sounds playing with GLBasic V9
« Reply #4 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?

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: Not all sounds playing with GLBasic V9
« Reply #5 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
« Last Edit: 2011-Feb-10 by 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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10816
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Not all sounds playing with GLBasic V9
« Reply #6 on: 2011-Feb-10 »
Yes, that's fixed with 9.x

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: Not all sounds playing with GLBasic V9
« Reply #7 on: 2011-Feb-10 »
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