replicant-frameworks_native/libs/audioflinger
Eric Laurent fed9382a6a Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer.

All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting.

The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.
2009-12-07 12:30:22 -08:00
..
A2dpAudioInterface.cpp
A2dpAudioInterface.h
Android.mk
AudioBufferProvider.h
AudioDumpInterface.cpp
AudioDumpInterface.h
AudioFlinger.cpp Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator. 2009-12-07 12:30:22 -08:00
AudioFlinger.h
AudioHardwareGeneric.cpp
AudioHardwareGeneric.h
AudioHardwareInterface.cpp
AudioHardwareStub.cpp
AudioHardwareStub.h
AudioMixer.cpp
AudioMixer.h
AudioPolicyManagerGeneric.cpp
AudioPolicyManagerGeneric.h
AudioPolicyService.cpp
AudioPolicyService.h
AudioResampler.cpp
AudioResampler.h
AudioResamplerCubic.cpp
AudioResamplerCubic.h
AudioResamplerSinc.cpp
AudioResamplerSinc.h