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

Testing and Deployment

Reply
New Contributor
Posts: 2
Registered: ‎02-13-2013
My Device: Playbook
My Carrier: none

AudioRecorder on BB10 Simulator

Hi,

 

I tried the sample "dictaphone"
https://github.com/blackberry/Cascades-Samples/tree/master/dictaphone

 

It always gives me following error logs:

---

INFO        START 1 AudioRecorder::record
INFO        START 1 AudioRecorder:: prepare
INFO        START 1 AudioRecorderPrivate::updateInputParams
INFO        AudioRecorderPrivate::updateInputParams: audioManagerHandle=0
INFO        START 1 AudioRecorderPrivate::lastError
WARNING     AudioRecorder:: prepare: Error attaching input source. url=audio:default, error=SourceUnavailable
WARNING     AudioRecorder::record: Unable to prepare the recorder

---

 

Is it possible to use microphone on simulator?

If not, can somebody tell me the detailed PCM (.wav) format recorded by real device?

- sampling rate

- channels

- bps

 

Many thanks.

Retired
Posts: 41
Registered: ‎07-14-2008
My Device: Not Specified

Re: AudioRecorder on BB10 Simulator

Hi,

 

Microphone should work with Simulator. Can you please try using the latest 10.1 simulator? With respect  to PCM data format please refer to below link

 

http://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.neutrino.audio/topic/architect...

 

Thank you,

 

Gurtej