Why Windows Phone 8 does not support media lib (especially audio recording feature)?
Is this feature in road map for WP8 ?
Jump to content
Because we didn't have time to add it. Every feature, every detail, takes time to implement. We have over 4 years of work that was put into Corona for Android and iOS by a team of developers. That effort can't be duplicated within a year for WP8.
For audio playback, we recommend that you use our audio.* API. This Lua library is fully supported. We even support the majority of the secret/unofficial OpenAL APIs that we blogged about a few years ago, such as controlling pitch.
We do not currently support audio recording for WP8. It's not a popular feature, so, it was low priority. But you can implement it yourself in C# via Microsoft's AudioVideoCaptureDevice class.
How to implement other media library like functionality can be found on Microsoft's website here...
And we document how to communicate between Lua and .NET here...
I hope this helps!
I understand. We're missing some features that would come in handy to game developers too, like in-app purchase, ads, native TextFields, etc. We're not singling any one type of developer out. We simply prioritized features that were popular *and* the most difficult for .NET developer to implement natively themselves... such as anything involving DirectX (ie: rendering/audio), multitouch, sensor handling, HTTP communications, cryptography, C/C++/Lua/.NET bridging, etc. Features that could be easily implemented by Corona developers in .NET had less priority. We're willing to help you with the Lua/.NET bridging code too if you need it. We want it to be as painless for everyone as possible.
I did find a C# example on how to implement audio recording here...
And I recommend that you record audio to PCM, which is an uncompress *.wav audio format that you can playback via Corona's Lua audio.* APIs.
Community Forum Software by IP.Board