I am developing a midlet application for recording in .wav format. I use Nokia SDK 6th edition. I tried with Player using following code.
p = Manager.createPlayer("capture://audio?enc=audio/wav");
Its recorded successfully and save test.开发者_如何学Pythonamr in memory card..But we see details in mobile it shows the .amr format.
Probably it does not recognize that ?enc=audio/wav
. According to the MMAPI specification, wav is audio/x-wav
.
The whole sencente would be like
Manager.createPlayer("capture://audio?encoding=audio/x-wav");
Does that work?
精彩评论