Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Another duplex audio thread

[ Edited ]

Anyone else achieve duplex audio beside me? I am running it on Bold 9000 OS 4.6.0.294. If you have got duplex audio working, please add to this thread and indicate the model of the phone and OS version.

Please use plain text.
Developer
simon_hain
Posts: 10,780
Registered: 07-29-2008
My Carrier: O2 Germany

Re: Another duplex audio thread

yes, on my 8900 both 4.6.1 and 5.0, did not test it on other models. did not use any codec, just play and record at the same time.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

peter_strange wrote:
"This process should happen traumatically for you in both JDE and Eclipse."
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Re: Another duplex audio thread

Wow. That is it. No one else?
Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Another duplex audio thread

It's no surprise -- many people here are bound by various NDAs...

Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Re: Another duplex audio thread

Unless you are talking about NDAs in certain RIM program. I don't remember signing any NDA when registering here.

Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Another duplex audio thread

I meant both RIM (e.g., Alliance Partner NDA) and employer NDAs and Confidentiality Agreements.

Please use plain text.
Developer
simon_hain
Posts: 10,780
Registered: 07-29-2008
My Carrier: O2 Germany

Re: Another duplex audio thread

well, we are an alliance partner. but i am not aware of rim providing us any code at all, would be strange if i had an nda for my own code.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

peter_strange wrote:
"This process should happen traumatically for you in both JDE and Eclipse."
Please use plain text.
Developer
myraddin
Posts: 378
Registered: 09-12-2008

Re: Another duplex audio thread

[ Edited ]

Just to note our success.

 

We managed to do it on Curve 8900 (4.6.1.310)

 

Cannot get over the player buffer caused delay :smileysad:  (for VoIP more than 1 is completely unusable).



"Listen carefully, I shall say this only once"
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Re: Another duplex audio thread

That's odd. My delay is less than 1/10th of a second over wifi. When it is over 3G, the delay is mostly from a 1/3rd of second to almost a second, but that is delayed twice (when the APN is busy or drops down to edge, the delay could be higher). I have a echo server running on my computer. The phone records and sends the audio to the server and the server sends it back immediately. Upon receiving the packets, the phone immediately sends it to the player. I have to test it on the 8900 and see if this still holds true.

Please use plain text.
Developer
myraddin
Posts: 378
Registered: 09-12-2008

Re: Another duplex audio thread

Well, I agree ("the phone immediately sends it to the player").

 

But, when does the sound start to play that 'immediately arrived' package ?

 

We noticed that player buffers that input and plays it out with significant delay.

 

Did you notice the same ?

 

Our tests show that buffer is around 60K. So if you (for example) play AMR (32 bytes per frame type 7) the buffer will introduce a delay of

 

60kby/32by/frame * 20ms/frame = 37000 ms !!

And that's similar to our results.

 

You can do a similar calc with pcm, again proven empirically.

 

Have you experienced/circumvented this ?



"Listen carefully, I shall say this only once"
Please use plain text.