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

Native Development

Reply
New Contributor
forestmedina
Posts: 4
Registered: ‎07-10-2013
My Device: Alpha C, Playbook
Accepted Solution

Bottom Microphone

Hi i am making a app where i use the microphone, the app is  capturing the microphone now, but it only use the top mic of the device, i want to capture from the bottom mic (the one used for calls) i am testing on a dev alpha c and the mic work on calls but not on my app.

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

Re: Bottom Microphone

Hi,

 

Can you please use the below Audio Loop Back Sample.  

https://github.com/blackberry/Core-Native-Community-Samples/tree/master/AudioLoopBackSample

 

To capture Voice you need to use the  "voice" path.

 

audio_manager_snd_pcm_open_name(AUDIO_TYPE_VIDEO_CHAT, &g_pcm_handle_c,
&g_audio_manager_handle_c, (char*) "voice", SND_PCM_OPEN_CAPTURE);
 
Cheers,
,
Gurtej Sandhu
Mobile Solutions Consultant
Developer Relations, 
@_GurtejSandhu
New Contributor
forestmedina
Posts: 4
Registered: ‎07-10-2013
My Device: Alpha C, Playbook

Re: Bottom Microphone

Thanks very much, i was already testing with the example but it was not working, after you answer i decide to reinstall the last software update for my dev alpha c and test it again it works now.

Developer
Zmey
Posts: 1,512
Registered: ‎12-18-2012
My Device: PlayBook, Z10, DAC

Re: Bottom Microphone

Hi! I have the same problem (haven't tried loopback sample yet).

Does bottom microphone work after reinstalling the software update?

Which OS version are you using now?

Andrey Fidrya, @zmeyc on twitter
New Contributor
forestmedina
Posts: 4
Registered: ‎07-10-2013
My Device: Alpha C, Playbook

Re: Bottom Microphone

Yes it works after reinstalling, my device is a dev alpha c, i am running the last 10.1 update for device alpha i download it from here https://developer.blackberry.com/blackberry10devalpha/devalpha_update.html.