[android-developers] Re: AudioTrack stop/release

2009-12-29 Thread Business Talk
Thanks Olivier, It is very helpful Olivier, I am just curious about MP3 players, They are able to stop playing with a very small latency. It seems like they would have to repeatedly write into a very small buffer. Do you think that is the case? My scenario is very similar to the MP3 players. I do

[android-developers] Re: AudioTrack stop/release

2009-12-28 Thread rageman
What is the size of your stream buffer? And what is the size of the NotificationPeriod buffer? On 25 Dec, 14:00, Business Talk wrote: > I keep posting this message hoping that maybe somebody from google > (media group in particular) monitors the group.  I need to stop the > AudioTrack, regardless

[android-developers] Re: AudioTrack stop/release

2009-12-19 Thread Business Talk
Thanks Niko, tried everything, including flushing, nothing works. On Dec 16, 3:38 pm, niko20 wrote: > Hi, > > try calling flush() just before stop, release. Otherwise I don't know > - it's why the size of buffer you choose is important, big enough to > not gap out, but small enough to be responsi

[android-developers] Re: AudioTrack stop/release

2009-12-16 Thread niko20
Hi, try calling flush() just before stop, release. Otherwise I don't know - it's why the size of buffer you choose is important, big enough to not gap out, but small enough to be responsive. -niko On Dec 15, 11:33 pm, Business Talk wrote: > It doesn't seems as if the the stop and release immedi