OSDN Git Service

Temporary additional logging to investigate bug
authorGlenn Kasten <gkasten@google.com>
Wed, 13 Feb 2013 22:46:45 +0000 (14:46 -0800)
committerThe Android Automerger <android-build@android.com>
Thu, 14 Feb 2013 00:31:39 +0000 (16:31 -0800)
commit9036ba85ef53cef442b1284a2447dd1b620d6b95
tree2ed313557a019eeba286e27a3f4ce2e0a45fba17
parent8f931aac0cc222cb84501c405671c7456731c7e0
Temporary additional logging to investigate bug

The bug appears related to continuing to use an invalid buffer provider
in fast mixer after track destruction, so focus the added logs in that area.

Also includes a bug fix: was calling log in an unsafe place
near Threads.cpp AudioFlinger::PlaybackThread::createTrack_l line 1250.

Details:
 - include caller pid or client pid where appropriate
 - increase log buffer size
 - log mFastIndex when AudioMixer sees an invalid bufferProvider.
 - log both potentially modified and actually modified tracks in FastMixer.
 - fix benign bug where sq->end() was called more than once.
 - log StateQueue push() call and return.

Bug: 6490974
Change-Id: Iee7c8f40e20b6000cd8286c0ec6a14fff4a37af1
services/audioflinger/AudioFlinger.h
services/audioflinger/AudioMixer.cpp
services/audioflinger/AudioMixer.h
services/audioflinger/FastMixer.cpp
services/audioflinger/Threads.cpp
services/audioflinger/Threads.h
services/audioflinger/Tracks.cpp