summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio_policy.h
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/hardware/audio_policy.h
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/hardware/audio_policy.h')
-rw-r--r--include/hardware/audio_policy.h4
1 files changed, 2 insertions, 2 deletions
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 */