thanks, though therein i didnt find anything about getPlaybackHeadPosition() ....
i just cannot believe that a simple function like getPlaybackHeadPosition() can go wrong. anyone has getPlaybackHeadPosition() work with pause()? On Feb 25, 12:38 am, blindfold <[email protected]> wrote: > See the earlier > threadhttp://groups.google.com/group/android-developers/browse_frm/thread/5... > > 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 <[email protected]> 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 [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-developers?hl=en

