>> I’m using AL_PITCH as well and so I was happy that it was implemented.
I’m glad AL_PITCH is working for you.
>> I tested the music pausing - yep, when I paused my game 10 times, there was one time when the music didn’t resume, but on the next pause/resume it started playing again.
I’m starting to think that this might be a core Corona issue that might happen on other platforms based on what I’m seeing in our code. I’ve seen a similar bug report on iOS and Android in the past. If you suspend/resume several times on iOS or Android, does the streaming music sometimes stop too?
>> according to MS documentation it shouldn’t close the app (like the back button), but should push it to the background:
But it will. Microsoft does not guarantee that the app will be resumed when returning to your app after pressing the Start button. They threaten that the device might decide to “tombstone” it. To prove it, put break points in your “App.xaml.cs” file’s Constructor, Deactivated, and Closing event handlers and launch your app. Notice that when you press the Start/Home button, it’ll Deactivate as expected, but when you go back into your app, it’ll break in your App class’ constructor. This proves that the Application was terminated and being re-created when re-launched. The same behavior can be observed with a WP8 app made with Microsoft’s project templates. It’s not caused by our Corona library.
Microsoft documents this here under the “Deactivated” section…
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff817008(v=vs.105).aspx
In my experience, this tombstoning behavior always happens when pressing the Start button. I’ve yet to see a WP8 device resume an app afterwards, but I wonder if it might have something to do with how much RAM is available on the device. The Lumia 920 that I typically test with is considered a low memory device.
I’ll work on this later. The XAML events we’re currently depending on to raise system events in Lua work in all cases *except* for the Start/Home button. So, we’ll just have to hook into other events to get it working right. Just another to-do item on the list. We’ll get to it.