summaryrefslogtreecommitdiffstats
path: root/libs/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-05-14 05:45:46 -0700
committerEric Laurent <elaurent@google.com>2010-05-14 05:45:46 -0700
commitb0a0147f344a2d26d86be2b1bdf5bfde50ef86c2 (patch)
tree8820f5f5979f699ef5903fe65f4fe3541bff5371 /libs/audioflinger/AudioFlinger.h
parentbfcbd9a9e1bc3a8d721e906e4c621f85104c7d93 (diff)
downloadframeworks_base-b0a0147f344a2d26d86be2b1bdf5bfde50ef86c2.zip
frameworks_base-b0a0147f344a2d26d86be2b1bdf5bfde50ef86c2.tar.gz
frameworks_base-b0a0147f344a2d26d86be2b1bdf5bfde50ef86c2.tar.bz2
AudioFlinger: rename variables to clarify reference to track channel count or channel mask
Some variables and structure members should be renamed to reflect the fact that they contain the number of channels in a track (channel count) or the actual channels used by a track (channel mask). Especially member "channels" of track control block (struct audio_track_cblk_t) is actually the number of channels (channels count). Change-Id: I220c8dede9fc00c8a5693389e790073b6ed307b8
Diffstat (limited to 'libs/audioflinger/AudioFlinger.h')
-rw-r--r--libs/audioflinger/AudioFlinger.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/audioflinger/AudioFlinger.h b/libs/audioflinger/AudioFlinger.h
index 13aac8b..c4a5305 100644
--- a/libs/audioflinger/AudioFlinger.h
+++ b/libs/audioflinger/AudioFlinger.h
@@ -366,9 +366,10 @@ private:
sp<AudioFlinger> mAudioFlinger;
uint32_t mSampleRate;
size_t mFrameCount;
- int mChannelCount;
+ uint32_t mChannels;
+ uint16_t mChannelCount;
+ uint16_t mFrameSize;
int mFormat;
- uint32_t mFrameSize;
Condition mParamCond;
Vector<String8> mNewParameters;
status_t mParamStatus;