replicant-frameworks_native/libs
Eric Laurent f5aba82cb7 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
..
audioflinger Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing. 2009-08-11 09:43:09 -07:00
binder don't crash in Parcel when given a null (and therfore invalid) native_handle_t 2009-07-31 16:18:16 -07:00
surfaceflinger enable HW acceleration for the Dim Surface on 8k devices 2009-08-10 21:13:06 -07:00
ui added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
utils Fix Win32 libutils to get a working SDK build. 2009-08-01 10:53:29 +02:00