diff options
author | Eric Laurent <elaurent@google.com> | 2010-05-14 05:45:46 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-05-14 05:45:46 -0700 |
commit | 45df6a2a25ff36606a5301155d8d97e9bf80d00b (patch) | |
tree | 5a7046dc5d6e5727fa7e2ea01b42f9aa06f45201 /include/private | |
parent | 65ae665befd929efd1a7d1c9addac41c699f04b2 (diff) | |
download | frameworks_av-45df6a2a25ff36606a5301155d8d97e9bf80d00b.zip frameworks_av-45df6a2a25ff36606a5301155d8d97e9bf80d00b.tar.gz frameworks_av-45df6a2a25ff36606a5301155d8d97e9bf80d00b.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 'include/private')
-rw-r--r-- | include/private/media/AudioTrackShared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h index 8e2db20..ab5ac64 100644 --- a/include/private/media/AudioTrackShared.h +++ b/include/private/media/AudioTrackShared.h @@ -59,7 +59,7 @@ struct audio_track_cblk_t // 8 bit PCM data: in this case, mCblk->frameSize is based on a sample size of // 16 bit because data is converted to 16 bit before being stored in buffer uint32_t frameSize; - uint8_t channels; + uint8_t channelCount; uint8_t flowControlFlag; // underrun (out) or overrrun (in) indication uint8_t out; // out equals 1 for AudioTrack and 0 for AudioRecord uint8_t forceReady; |