Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Member
Posts: 1
Registered: ‎01-17-2012
My Device: 9930
My Carrier: Verizon

Audio recording issue in 7.1

Anyone else having problem recording audio after upgrading to 7.1?

 

After upgrading several different BlackBerry 9930 handsets to 7.1.0.163 they can't record audio. I have tried several different code examples exactly as shown in the SDK documentation and Knowledge base articles with the same result.

 

Below is a code snippet and the resulting Eventlog when run on an upgraded 9930 handset.

 

_player = javax.microedition.media.Manager.createPlayer("capture://audio?encoding=audio/amr");

_player.addPlayerListener(this);

_player.realize();

_rcontrol = (RecordControl) _player.getControl("RecordControl");

_rcontrol.setRecordLocation("file:///store/home/user/AudioRecordingTest.amr");

_rcontrol.startRecord();

_player.start();

 

[6517.0] AR: add source AUDIO_SOURCE_AUDIO_RECORDING

[6517.0] AR: setAudioMode 9

[6517.015] created session

[6517.015] [STREAM] allocating buffer [index: 0] [size: 65536]

[6517.015] [STREAM] allocating stream [index: 0] [size:65536,8192]

[6517.015] [STREAM] allocated stream [index: 0] [handle: 6660] [size: 65536]

[6517.023] [STREAM] releasing buffer [index: 0] [handle: 6660]

[6517.039] net.rim.device.internal.media.RecordPlayer@499b4375 event: recordError data: Could not start recording

[6517.054] net.rim.device.internal.media.RecordPlayer@499b4375 event: started data: -1

 

Contributor
Posts: 18
Registered: ‎01-21-2011
My Device: BB7 - BB10
My Carrier: Developer

Re: Audio recording issue in 7.1

I do have problems playing audio on 7.1. On previuos firmwares, e.g. 7.0 , all work correct.

I use, like you,  javax.microedition.media.Manager to create and play audios.


Contributor
Posts: 22
Registered: ‎01-24-2011
My Device: Not Specified

Re: Audio recording issue in 7.1

7.1.0.267 is the first good 7.1 release I have found
Contributor
Posts: 18
Registered: ‎01-21-2011
My Device: BB7 - BB10
My Carrier: Developer

Re: Audio recording issue in 7.1

I have just installed 7.1.0.336 on my 9360 test device and it does'nt play audio as before.

 

I had a similar issue with some versions of 5.0 firmware. The only thing I did was to wait for a new firmware release whit this issue fixed, unfortunately!

Highlighted
Contributor
Posts: 22
Registered: ‎01-24-2011
My Device: Not Specified

Re: Audio recording issue in 7.1

7.1.0.336 on 9360 works for me.