summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixerState.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2014-05-09 15:02:21 -0700
committerAndy Hung <hunga@google.com>2014-05-19 12:27:46 -0700
commite8a1ced4da17dc6c07803dc2af8060f62a8389c1 (patch)
treeeadb47a0d9349451773ef55adaa60317e1dbafad /services/audioflinger/FastMixerState.h
parent68112fc4f77ab8c4a744782f78e9792afe0cbfc1 (diff)
downloadframeworks_av-e8a1ced4da17dc6c07803dc2af8060f62a8389c1.zip
frameworks_av-e8a1ced4da17dc6c07803dc2af8060f62a8389c1.tar.gz
frameworks_av-e8a1ced4da17dc6c07803dc2af8060f62a8389c1.tar.bz2
Add format parameter to getTrackName() and track_t
Change-Id: Ia152a839014e235fbfb656104c15d7c1b456d02e Signed-off-by: Andy Hung <hunga@google.com>
Diffstat (limited to 'services/audioflinger/FastMixerState.h')
-rw-r--r--services/audioflinger/FastMixerState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixerState.h b/services/audioflinger/FastMixerState.h
index be1a376..cb54ff1 100644
--- a/services/audioflinger/FastMixerState.h
+++ b/services/audioflinger/FastMixerState.h
@@ -45,6 +45,7 @@ struct FastTrack {
ExtendedAudioBufferProvider* mBufferProvider; // must be NULL if inactive, or non-NULL if active
VolumeProvider* mVolumeProvider; // optional; if NULL then full-scale
audio_channel_mask_t mChannelMask; // AUDIO_CHANNEL_OUT_MONO or AUDIO_CHANNEL_OUT_STEREO
+ audio_format_t mFormat; // track format
int mGeneration; // increment when any field is assigned
};