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

Posts: 40
Registered: ‎04-01-2009
My Device: Torch 9810
My Carrier: Rogers

How to get the number of audio channels at runtime?

It is a well-known fact that GSM-based BlackBerry phones have 2 audio channels, while CDMA-based ones are limited to only one.  My questions are:


(1) How to determine the number of channels at runtime?  System.getProperty("supports.mixing") returns "false" in all simulators I tried.  Maintaining a list of device models inside the app is not future-proof.  I even thought of playing a couple of silent mp3s at the first run of the app to see if the second one will interrupt the first one, and then store the results of this test, but this is quite a clumsy solution.  Any other ideas?


(2) How many audio channels do the new models have (9900, 9930, 9350, 9360, 9810, 9850, 9860)?  Do the new chipsets lift the restriction in any way?

Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
My Carrier: Turkcell

Re: How to get the number of audio channels at runtime?

Hello maribou,


Have you found answers to your questions, I need this information, too. Thanks.



Best Regards