summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-09-28 13:04:24 -0700
committerGlenn Kasten <gkasten@google.com>2014-10-22 09:45:05 -0700
commit97b7b75b6a31330e213bdb96ccc60916218ad903 (patch)
tree131d18f42b0830b3c170f419f54052001b3b9b85 /services/audioflinger/Threads.h
parent97502a19165de566eaf7525b6967f84adc8aabce (diff)
downloadframeworks_av-97b7b75b6a31330e213bdb96ccc60916218ad903.zip
frameworks_av-97b7b75b6a31330e213bdb96ccc60916218ad903.tar.gz
frameworks_av-97b7b75b6a31330e213bdb96ccc60916218ad903.tar.bz2
Improve dumpsys for output threads
Display output thread type and flags. Also add units and use consistent spelling. Change-Id: I19eb627f41c4887b6ad0543024a8477a99890798
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index bb9aa18..bcdb0e5 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -32,6 +32,8 @@ public:
OFFLOAD // Thread class is OffloadThread
};
+ static const char *threadTypeToString(type_t type);
+
ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
audio_devices_t outDevice, audio_devices_t inDevice, type_t type);
virtual ~ThreadBase();
@@ -406,6 +408,7 @@ protected:
audio_channel_mask_t mChannelMask;
uint32_t mChannelCount;
size_t mFrameSize;
+ // not HAL frame size, this is for output sink (to pipe to fast mixer)
audio_format_t mFormat; // Source format for Recording and
// Sink format for Playback.
// Sink format may be different than