Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
05-28-2012 05:56 AM
I am going to work on application that will play mix two audio streams. I read in a few sources that the device capability of doing this can be queried with: System.getProperty("supports.mixing"). In all of the simulators I tried, as well as on my 9700 Bold, it always returns "false". I wonder which models support this? References state most of the GSM models support this feature, I am confused. Thanks in advance,
Solved! Go to Solution.
05-30-2012 09:35 AM
Basically, GSM devices support multiple audio channels. CDMA do not.. The simulator may not be giving you accurate data, try it on an actual device.
05-31-2012 10:54 AM
All devices will return false for supports.mixing. As Paul mentioned, you can mix sounds by using 2 players simultaneously on devices that support it. Otherwise, you will have to mix the audio yourself before passing to a player. It isn't difficult to do, a forum search should give you articles and sample code that explains how, and the DevConOnDemand portal has relevent content as well.
05-31-2012 11:29 AM - edited 05-31-2012 11:30 AM
Thank you BVP. I had searched the forum about this, will do a more detailed search and will have a look at the DevConOnDemand portal.
I am wondering now, why will all devices return supports.mixing?
05-31-2012 11:46 AM
Good question. According to the MMAPI spec the requirements for supports.mixing is:
Query for whether audio mixing is supported. The string returned is either "true" or "false". If mixing is supported, the following conditions are true:
Manager.playTonecan be used at the same time when at least one
Playeris playing back audio.
Playerscan be used to play back audio simultaneously
Since I have just verified that the return value is hard-coded to false for all devices, it would appear you've found a bug