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

Reply
New Developer
jparmar
Posts: 21
Registered: ‎09-18-2009
My Device: Not Specified

Re: Playing and Recording audio at the same time

Hello,

 

I want to do the same thing..

Have you found any way to do this task ?

 

 

 

Thanks.

Please use plain text.
Developer
Aviator168
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930

Re: Playing and Recording audio at the same time

You have to do it in two applications. One for play back and the other one for recording.

Please use plain text.
Developer
myraddin
Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810

Re: Playing and Recording audio at the same time

Any update on the topic?

 

@Aviator

How did you succeed ?

I used your approach and got a silent gap in the recording while player was active (AMR).

 

(In the process I discovered a way to programatically invoke a restart of the device :smileywink: )



"Listen carefully, I shall say this only once"
Please use plain text.
Developer
Aviator168
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930

Re: Playing and Recording audio at the same time

myraddin,

 

What do you mean a silent gap in the recording? Also, what do you mean by restart of the device?

Please use plain text.
Developer
myraddin
Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810

Re: Playing and Recording audio at the same time

[ Edited ]

Well...

 

I start the player... After a while I start the recorder (overlapping the player).

 

Then I stop the player.

 

After a while I stop the recorder and start the playback.

 

In the playback the overlapping part is silent (full duplex not working :smileysad: ) but the rest of audio is fine.

 

I am recording and playing AMR.

 



"Listen carefully, I shall say this only once"
Please use plain text.
Developer
dynamicdhaka
Posts: 101
Registered: ‎12-10-2009
My Device: styile 9670

Re: Playing and Recording audio at the same time

what is the last of your blackberry voip? have you succeed with this? ...how you have controlled duplex audio recording and playback?

Mobile Application Advisor
Please use plain text.
Developer
dynamicdhaka
Posts: 101
Registered: ‎12-10-2009
My Device: styile 9670

Re: Playing and Recording audio at the same time

hi..i have used your approach using two application.but.i start the player then recorder being stopped?why this is...am i doing any wrong

Mobile Application Advisor
Please use plain text.
Developer
dynamicdhaka
Posts: 101
Registered: ‎12-10-2009
My Device: styile 9670

Re: Playing and Recording audio at the same time

at last duplex issue solved !!!!!!:smileyhappy:

Mobile Application Advisor
Please use plain text.
Developer
robybd
Posts: 216
Registered: ‎09-11-2008
My Device: 9000(Bold)

Re: Playing and Recording audio at the same time

Hi,

 

I know this topic is closed long time ago but can you share your approach how to accomplish it?

Thx

 

Please use plain text.
Developer
Aviator168
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930

Re: Playing and Recording audio at the same time

You have to start the recorder first, then the player. Starting them in a the reverse order does not work. I do not know why.

Please use plain text.