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
Developer
Developer
Posts: 17
Registered: ‎04-19-2012
My Device: Playbook
My Carrier: Verizon
Accepted Solution

what audiomixer INPUT channels are available?

The audiomixer.h listed a set of input channel related functions:

   audiomixer_set_input_level()

   audiomixer_adjust_input_level()

   ...

 

But   'Speaker' , "Headphone', and 'A2DP' channels all reported t not to  have INPUT support (from the audiodevice_detailed_t ).   Are those input related functions are real?   If yes,  then they apply to which audio channel(s)?     

 

Also,  in the system setting for Sounds and Notification,   there is a on/off toggle for  the Headphone Audio Boost.  Does anyone know how it this done using any of the published ndk API?   Thanks.

 

 

BlackBerry Development Advisor
Posts: 38
Registered: ‎10-26-2011
My Device: BlackBerry Bold 9900
My Carrier: Rogers

Re: what audiomixer INPUT channels are available?

The audiomixer input functions apply to those channels for which audiodevice_details_t.input is true, e.g. HEADSET, HANDSET, BTSCO (bluetooth headset), etc.

 

There is no way to adjust the Headphone Audio Boost from the NDK.  It is a user option only.

 

Developer
Developer
Posts: 17
Registered: ‎04-19-2012
My Device: Playbook
My Carrier: Verizon

Re: what audiomixer INPUT channels are available?

Thanks for your insider information!