开发者

Sound Recorder in j2me

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜