Dear Glenn,

I met one issue with FastTrack playback,which is very weird.

when AP started a audio streming with Fastmixer, and if it try to end the
playing we will have below issue:

AP call AudioTrack's stop function first, and the track in AudioFlinger
will set its state to STOPPING_1.
But before it happened underrun condition, that means before it change to
STOPPINT_2, then AP deleted the AudioTrack.

And the release action will suspend current mixerthread and fastmixer,
importantly it will reset mBytesWritten to 0.

So when the track in AudioFlinger call presentationComplete() after changed
to STOPPINT_2, it will never return true, because mByteWritten is 0 !!!

At last, the track in mixerthread will stay be active forerver, and its
state is TERMINATED state.
So the mixerthread will never sleep.

Is this a issue on JB 4_1_1 ?

Thanks

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to