Sathish Rajendiran
Sathish Rajendiran

Reputation: 39

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.amr in memory card..But we see details in mobile it shows the .amr format.

Upvotes: 0

Views: 719

Answers (1)

mdelolmo
mdelolmo

Reputation: 6457

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?

Upvotes: 1

Related Questions