summaryrefslogtreecommitdiffstats
path: root/audio/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-06-08 16:12:07 -0700
committerGlenn Kasten <gkasten@google.com>2015-06-08 16:34:09 -0700
commit2c29cee2e519db2decc91747b01f54597a856d1b (patch)
treee910663a4667431f0d21a439b4245c462a2e74cc /audio/include
parent7baada2795d6d050d9d86f92ab2ebcfa870b043e (diff)
downloadandroid_system_media-2c29cee2e519db2decc91747b01f54597a856d1b.tar.gz
android_system_media-2c29cee2e519db2decc91747b01f54597a856d1b.tar.bz2
android_system_media-2c29cee2e519db2decc91747b01f54597a856d1b.zip
Add FCC_8 comments to indicate 8-channel assumptions
Bug: 21656069 Change-Id: I411a5c83eec126bc6cda796bd4c9f842ed6ee762
Diffstat (limited to 'audio/include')
-rw-r--r--audio/include/system/audio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/include/system/audio.h b/audio/include/system/audio.h
index 26b44a36..112f36d3 100644
--- a/audio/include/system/audio.h
+++ b/audio/include/system/audio.h
@@ -491,6 +491,7 @@ enum {
AUDIO_CHANNEL_INDEX_MASK_6 = AUDIO_CHANNEL_INDEX_HDR | (1 << 6) - 1,
AUDIO_CHANNEL_INDEX_MASK_7 = AUDIO_CHANNEL_INDEX_HDR | (1 << 7) - 1,
AUDIO_CHANNEL_INDEX_MASK_8 = AUDIO_CHANNEL_INDEX_HDR | (1 << 8) - 1,
+ // FIXME FCC_8
};
/* The return value is undefined if the channel mask is invalid. */
@@ -858,6 +859,8 @@ struct audio_gain_config {
audio_gain_mode_t mode; /* mode requested for this command */
audio_channel_mask_t channel_mask; /* channels which gain value follows.
N/A in joint mode */
+
+ // note this "8" is not FCC_8, so it won't need to be changed for > 8 channels
int values[sizeof(audio_channel_mask_t) * 8]; /* gain values in millibels
for each channel ordered from LSb to MSb in
channel mask. The number of values is 1 in joint
@@ -1263,6 +1266,7 @@ static inline audio_channel_mask_t audio_channel_out_mask_from_count(uint32_t ch
case 8:
bits = AUDIO_CHANNEL_OUT_7POINT1;
break;
+ // FIXME FCC_8
default:
return AUDIO_CHANNEL_INVALID;
}