Problem with audio.stop using Tilt Monster example

Hi,

Since updating to the latest daily build my app based on Tilt Monster and the Tilt monster example itself no longer work. When the Play button is pressed an error message for the audio.stop function in line 4593 pops up. The running should plays but the game will not display. This was working fine until this week. I didn’t change anything at all and am unsure on how to get this working again. Does anyone else find the the Tilt monster example no longer works for them with daily build 934 or know how to get this working again? Or if there have been any changes to the way that audio.stop should be implemented?

the problem seems to be in [lua] “audio.stop( gameMusic1 )” [import]uid: 138027 topic_id: 31917 reply_id: 331917[/import]

Hi,

they changed the audio stop syntax in a recent build, you should now use:

 gameMusic1 = audio.stop()  

hth [import]uid: 127675 topic_id: 31917 reply_id: 127370[/import]

I’m pretty sure you can’t stop a sound by using its handle. You can only stop channels.

For example just using audio.stop() will stop all the active channels, doing audio.stop(1) will stop only channel one. [import]uid: 69826 topic_id: 31917 reply_id: 127385[/import]

The new syntax is as I say, if you run it through the simulator an check terminal it will alert you to the error. Iam sure it is in the new audio API.

[import]uid: 127675 topic_id: 31917 reply_id: 127394[/import]

Thank you so much for the replies. As soon as I can I will give this a go. [import]uid: 138027 topic_id: 31917 reply_id: 127428[/import]

Hi,

they changed the audio stop syntax in a recent build, you should now use:

 gameMusic1 = audio.stop()  

hth [import]uid: 127675 topic_id: 31917 reply_id: 127370[/import]

I’m pretty sure you can’t stop a sound by using its handle. You can only stop channels.

For example just using audio.stop() will stop all the active channels, doing audio.stop(1) will stop only channel one. [import]uid: 69826 topic_id: 31917 reply_id: 127385[/import]

The new syntax is as I say, if you run it through the simulator an check terminal it will alert you to the error. Iam sure it is in the new audio API.

[import]uid: 127675 topic_id: 31917 reply_id: 127394[/import]

Thank you so much for the replies. As soon as I can I will give this a go. [import]uid: 138027 topic_id: 31917 reply_id: 127428[/import]