[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????
thank you again. yes, i found getPlaybackHeadPosition() in your posts. since my sampling rate is 8000, i have no problem with getPlaybackHeadPosition() if pause() is NOT called. On Feb 26, 1:06 am, blindfold wrote: > > thanks, though therein i didnt find anything about > > getPlaybackHeadPosition() > > Then you missed my posts 12 and 13 in that thread, > > http://groups.google.com/group/android-developers/tree/browse_frm/thr... > > as well as my bug report > > http://code.google.com/p/android/issues/detail?id=2563 > > Regards > > On Feb 26, 12:33 am, HeHe wrote: > > > > > 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 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 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
[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????
> thanks, though therein i didnt find anything about > getPlaybackHeadPosition() Then you missed my posts 12 and 13 in that thread, http://groups.google.com/group/android-developers/tree/browse_frm/thread/56ab381d56069436/a3905a29d60466f6?rnum=11&lnk=nl as well as my bug report http://code.google.com/p/android/issues/detail?id=2563 Regards On Feb 26, 12:33 am, HeHe wrote: > 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 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 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
[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????
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 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 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
[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????
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 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