04-07-2011 04:39 PM
Do not flush the data already in the player. It will create more problem than it solved, and yes, it will cost the player to stop and start buffering again. Another trick is to through out packets than has no cadence.
04-09-2011 04:37 AM
rahow to flush audio player.? is that really works on device?
04-10-2011 03:24 AM
streaming buffer control does not exist in os 6. i have tried using all os 6. but i have not foud this control.
04-10-2011 03:49 AM
have anyone tried using upsampling?does it really works?
04-10-2011 05:56 AM
No. Upsamling doesn't help nor does flushing for os 6.
button to give kudos if I helped you 04-10-2011 06:13 AM
have you converted 8khz data to 44 k or 48k hz data and then you have push that data? or you just have tried by changing the header from sampling rate 8khz to 44khz ?
04-11-2011 09:49 AM
dynamicdhaka wrote:
streaming buffer control does not exist in os 6. i have tried using all os 6. but i have not foud this control.
Yes. It does. It is there all along.
BTW. fgVoIP deleted their thread I reference in an earlier post.
04-12-2011 04:57 AM
what do you mean by this? Yes. It does. It is there all along.? do you mean StreamingBufferControl exist in os 6? have you tried to create oject of StreamingBufferControl? i always get it null ...
04-12-2011 06:32 AM
It is in the API docs hence it exists. http://www.blackberry.com/developers/docs/6.0.0api
If you are getting null it is probably because you are getting it wrong.
button to give kudos if I helped you 04-12-2011 06:40 AM
iAudioPlayer.addPlayerListener(this);
iAudioPlayer.realize();
iAudioPlayer.prefetch();
iStreamingBufferControl= (StreamingBufferControl)iAudioPlayer.getControl("n
...this is the code which i am using to create the object of StreamingBufferControl
But i am getting null object. i have watch the 6.0 api. they have mentioned it but practially i am not getting it. Also,i have extract the net_rim_api.jar and i have not found any .class file for StreamingBufferControl ...have you tried any more?