Build 881 dailybuild

audio.stop stopped working!!! [import]uid: 86417 topic_id: 29952 reply_id: 329952[/import]

As a tip only, maybe it helps you out (I did not test the build you`re telling that broke the audio API btw):

Be sure to not call the audio.stop() API passing any handle of your loaded audio file as it will cause you an error with the recent daily-builds. (recent because before it used to work like that)

So, you now call it as: audio.stop( [channel] ) and if you do not pass any channel, so all the channels are stopped.

I know that maybe what am telling you isn`t related to your own specific problem right now, but any way, this caused me trouble today when getting some built apps of the past and seeing they stopped working because of me passing the handle to audio.stop() instead passing the channel only.

So, it is more like an advice for you and all other Corona Devs that used to work with this API by the other way.

Luck,
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 29952 reply_id: 120139[/import]

Yes, Rodrigo is correct. We intentionally changed this behavior because a lot of developers were complaining they were getting bit by bugs going the other way. Please review the last several Daily Build logs for the specific information about these changes. Also, the API documentation bundled with the Daily Builds has been updated for audio.stop to describe this behavior.

[import]uid: 7563 topic_id: 29952 reply_id: 120151[/import]

As a tip only, maybe it helps you out (I did not test the build you`re telling that broke the audio API btw):

Be sure to not call the audio.stop() API passing any handle of your loaded audio file as it will cause you an error with the recent daily-builds. (recent because before it used to work like that)

So, you now call it as: audio.stop( [channel] ) and if you do not pass any channel, so all the channels are stopped.

I know that maybe what am telling you isn`t related to your own specific problem right now, but any way, this caused me trouble today when getting some built apps of the past and seeing they stopped working because of me passing the handle to audio.stop() instead passing the channel only.

So, it is more like an advice for you and all other Corona Devs that used to work with this API by the other way.

Luck,
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 29952 reply_id: 120139[/import]

Yes, Rodrigo is correct. We intentionally changed this behavior because a lot of developers were complaining they were getting bit by bugs going the other way. Please review the last several Daily Build logs for the specific information about these changes. Also, the API documentation bundled with the Daily Builds has been updated for audio.stop to describe this behavior.

[import]uid: 7563 topic_id: 29952 reply_id: 120151[/import]