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

Java Development


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.


Reply
Developer
Posts: 37
Registered: ‎10-17-2008
My Device: Not Specified

Re: Not sure I it is a bug or a feature. We use two players: one to record, another to playback.


MSohm wrote:
The behaviour you see here can vary based on the BlackBerry smartphone model due to the fact that it is primarily based on the underlying hardware of the BlackBerry smartphone.  Simultaneous playback and recording is possible on some models, however only one codec can be used at the same time.  This means that you'd need to record and play back audio using the same format.
Is there any reason why this might work with certain codecs but not with others?
I ask because from my testing, simultaneous playback/record seems to work with AMR but not PCM (audio/basic).  Can you offer any explanation of this observed behavior or is it just a "fluke"?  Please see my previous post on this thread for more details on test scenario, device type, etc.
 
Developer
Posts: 74
Registered: ‎01-03-2010
My Device: Not Specified

Re: Not sure I it is a bug or a feature. We use two players: one to record, another to playback.

branchcut can you give the code/change that you have made to make aaviad's code working? it will be helpful for all

Highlighted
Developer
Posts: 37
Registered: ‎10-17-2008
My Device: Not Specified

Re: Not sure I it is a bug or a feature. We use two players: one to record, another to playback.

As far as I know I didn't have to do any changes to the code sample to make it work -- it worked out of the box.  Well, except for the fact that full duplex record / playback only worked with the AMR codec, but that's what the code sample uses by default.

 

What issue did you run into?