See the earlier thread 
http://groups.google.com/group/android-developers/browse_frm/thread/56ab381d56069436/

I did not get useful results from trying to get the current playing
position and gave up on it. I do not know if Android 2.1 is any better
here.

On Feb 25, 1:12 am, HeHe <cnm...@gmail.com> wrote:
> folks,
>
> does anybody use AudioTrack.getPlaybackHeadPosition()?
> i found that, if i call AudioTrack.pause() in the middle of playing
> audio frames, at end of playback getPlaybackHeadPosition() always
> returns hundreds of frames less than the number of frames fed into
> the
> AudioTrack object .
>
> did anybody also run into the same issue?
>
> if you did, how did you work around this unexpected behavior?
>
> thank u~

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to