summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-06-19 12:16:04 -0700
committerGlenn Kasten <gkasten@google.com>2012-06-25 10:45:43 -0700
commita635449697a2df5de98e72cfc24e926b641d5544 (patch)
treef581a4950512c0b5fa2f1376e0bd25748259701e /include
parentbd85f47ae7b6b2af30cf9d51d7039fbba5a271ed (diff)
downloadhardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.zip
hardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.tar.gz
hardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.tar.bz2
Use audio_channel_mask_t consistently
Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
Diffstat (limited to 'include')
-rw-r--r--include/hardware/audio_effect.h4
-rw-r--r--include/hardware/audio_policy.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/hardware/audio_effect.h b/include/hardware/audio_effect.h
index 65eba36..4037bbb 100644
--- a/include/hardware/audio_effect.h
+++ b/include/hardware/audio_effect.h
@@ -784,8 +784,8 @@ enum effect_feature_e {
// EFFECT_FEATURE_AUX_CHANNELS feature configuration descriptor. Describe a combination
// of main and auxiliary channels supported
typedef struct channel_config_s {
- uint32_t main_channels; // channel mask for main channels
- uint32_t aux_channels; // channel mask for auxiliary channels
+ audio_channel_mask_t main_channels; // channel mask for main channels
+ audio_channel_mask_t aux_channels; // channel mask for auxiliary channels
} channel_config_t;
diff --git a/include/hardware/audio_policy.h b/include/hardware/audio_policy.h
index 78a1a62..8924dd1 100644
--- a/include/hardware/audio_policy.h
+++ b/include/hardware/audio_policy.h
@@ -132,7 +132,7 @@ struct audio_policy {
audio_stream_type_t stream,
uint32_t samplingRate,
audio_format_t format,
- uint32_t channels,
+ audio_channel_mask_t channelMask,
audio_output_flags_t flags);
/* indicates to the audio policy manager that the output starts being used
@@ -157,7 +157,7 @@ struct audio_policy {
audio_io_handle_t (*get_input)(struct audio_policy *pol, audio_source_t inputSource,
uint32_t samplingRate,
audio_format_t format,
- uint32_t channels,
+ audio_channel_mask_t channelMask,
audio_in_acoustics_t acoustics);
/* indicates to the audio policy manager that the input starts being used */