Android build no sound on certain device

Hi,

I built a simple game, it will play a wav file when collide.

It has no problem in simulator, and also HTC Desire, but 2 problems in Galaxy S2 i9100G.

First, no sound.
Second, if I press the back button to quit and run the game again, it hang, with about 50% CPU usage and 10MB RAM, which sounds like memory leak.

Is this a known bug? [import]uid: 138320 topic_id: 24695 reply_id: 324695[/import]

I think there is a serious problem between Corona SDK and Samsung Galaxy S2 i9100G, v2.3.6 Gingerbread.

I try to minimize the scope, by only write display.newText(“Hello World”, 0, 0, nil, 30)

I built it, and deploy to that S2, it shows Hello World, but when I press ‘home’ button, and view it in task manager (by holding home button), it is actually running at about 40% -60% CPU and won’t drop.

When I reenter that app, the whole phone freezed.

This happen to a few Galaxy S2.

I am currently building in Windows machine, running 2012.784.

Will this happen if I build in Mac?

Thanks. [import]uid: 143031 topic_id: 24695 reply_id: 102134[/import]

How are you playing the audio?

using Media.EventSound which is deprecated would not play the sound for me.

You can use CatLog to see if the Android is having issue playing it back.

When I switched to the reccomended audio.play() method the issue fixed itself. [import]uid: 130916 topic_id: 24695 reply_id: 102693[/import]

Yes, I already use audio.play()

It works in simulator and HTC Desire and HTC Sensation, but not Samsung Galaxy S2 ONLY. [import]uid: 138320 topic_id: 24695 reply_id: 102726[/import]