Fast Sound Bug - build #947

This is an interesting one.

Somewhere between #929 and #947 the sound has started playing on Android 4+ super fast. Quite comical, but obviously not desirable. This seems to happen to all sound, mp3’s & wavs.

Anyone else noticed this problem?

Works fine when tested on the Simulator & on Android 2.1.
Not working on Android 4.0.4 & 4.1.2.

Ben [import]uid: 28534 topic_id: 32727 reply_id: 332727[/import]

What is the make and model of the Android device(s) that you are seeing this behavior on? [import]uid: 32256 topic_id: 32727 reply_id: 130109[/import]

Devices tested:
Galaxy Nexus = 4.1.2 - Fail
Galaxy Tab 10.1 = 4.0.4 - Fail

Dell Streak 2.2.2 (Sorry, said it was 2.1 above) - OK [import]uid: 28534 topic_id: 32727 reply_id: 130110[/import]

Hi Josh,

I just tested a HTC Evo 4G running Android 2.3.7 and it has the same problem too.

Ben [import]uid: 28534 topic_id: 32727 reply_id: 130111[/import]

Hmm… I test with a Galaxy Nexus almost every day.

Would you mind doing another test? Try running sample app “Media/SimpleMixer” that is included with the Corona SDK to see if this issue happens on your devices. This is to verify that we are not running into some kind of strange decoding issue between your MP3 files and ours. [import]uid: 32256 topic_id: 32727 reply_id: 130112[/import]

Just ran the SimpleMxer sample on Galaxy Nexus and it seemed fine. [import]uid: 28534 topic_id: 32727 reply_id: 130114[/import]

What is the make and model of the Android device(s) that you are seeing this behavior on? [import]uid: 32256 topic_id: 32727 reply_id: 130109[/import]

Devices tested:
Galaxy Nexus = 4.1.2 - Fail
Galaxy Tab 10.1 = 4.0.4 - Fail

Dell Streak 2.2.2 (Sorry, said it was 2.1 above) - OK [import]uid: 28534 topic_id: 32727 reply_id: 130110[/import]

Okay. It sounds like this issue only happens to audio files of a particular encoding then. Can you send us a small test project with your audio files please so that we can reproduce this issue on our end? You can do so by clicking the “Report a Bug” link at the top of this web page. Thanks. [import]uid: 32256 topic_id: 32727 reply_id: 130118[/import]

Hi Josh,

I just tested a HTC Evo 4G running Android 2.3.7 and it has the same problem too.

Ben [import]uid: 28534 topic_id: 32727 reply_id: 130111[/import]

Hmm… I test with a Galaxy Nexus almost every day.

Would you mind doing another test? Try running sample app “Media/SimpleMixer” that is included with the Corona SDK to see if this issue happens on your devices. This is to verify that we are not running into some kind of strange decoding issue between your MP3 files and ours. [import]uid: 32256 topic_id: 32727 reply_id: 130112[/import]

Just ran the SimpleMxer sample on Galaxy Nexus and it seemed fine. [import]uid: 28534 topic_id: 32727 reply_id: 130114[/import]

Okay. It sounds like this issue only happens to audio files of a particular encoding then. Can you send us a small test project with your audio files please so that we can reproduce this issue on our end? You can do so by clicking the “Report a Bug” link at the top of this web page. Thanks. [import]uid: 32256 topic_id: 32727 reply_id: 130118[/import]

This has now been submitted as Case 18657. [import]uid: 28534 topic_id: 32727 reply_id: 130378[/import]

This has now been submitted as Case 18657. [import]uid: 28534 topic_id: 32727 reply_id: 130378[/import]

Just a little update here.

The sounds are playing at exactly double speed. This can be shown by adjusting playback speed to half speed with code, at which point the sounds play normally again. [import]uid: 28534 topic_id: 32727 reply_id: 130884[/import]

Just a little update here.

The sounds are playing at exactly double speed. This can be shown by adjusting playback speed to half speed with code, at which point the sounds play normally again. [import]uid: 28534 topic_id: 32727 reply_id: 130884[/import]

Thank you. I think I have a working fix now. It was triggered by setting audioPlayFrequency to something other than 44100 when using the OpenSL ES backend. Please try build 967 or later.

[import]uid: 7563 topic_id: 32727 reply_id: 130951[/import]

Thank you. I think I have a working fix now. It was triggered by setting audioPlayFrequency to something other than 44100 when using the OpenSL ES backend. Please try build 967 or later.

[import]uid: 7563 topic_id: 32727 reply_id: 130951[/import]

Yep. Working normally again. Thanks. [import]uid: 28534 topic_id: 32727 reply_id: 130995[/import]