Hi All,

I am trying to play sound buffer for streaming sound(PCM sound data)
through a library in Android framework.

I am trying by using AudioTrack::write() for passing sound buffer to
Audio Flinger and AudioTrack::start() function for playing that sound.
But it's required to get a callback once each buffer is played before
sending the next buffer for playing.

Can anyone help me to know if there is anyway to get a callback from
AudioTrack once the playback of given buffer is completed?

or is there any other way to play PCM data in Android?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to