X-GSM/PCM CODEC's on simulator
Please Login to Remove!
Hello.
I using blackberry eclipse plug-in with preinstalled simulator for BB OS 5.0
After capturing: _player = Manager.createPlayer("capture://audio?encoding=audio/basic");
I trying to play the captured byte array but on string:
_player = Manager. createPlayer( new ByteArrayInputStream(_data), "audio/basic");
I receiving following exception: javax.microedition.media.MediaException: Not a snd file.
(when I using "x-gsm" instead "basic" it just playing nothing).
The question is how to play on simulator x-gsm or pcm byte streams and how to
upgrade simulator with this CODEC's?
Thanks.
|