summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-18 13:58:44 -0700
committerEric Laurent <elaurent@google.com>2012-04-18 13:58:44 -0700
commitda4b0b26d170971448fdb04817b308900b5a6dd8 (patch)
tree2bbc66b100c8d3efd3403a5119c7eeaa7a1051ae
parent55786bcf3ced97dea8fa7ce79df2889d4d06e8a7 (diff)
downloadhardware_libhardware-da4b0b26d170971448fdb04817b308900b5a6dd8.zip
hardware_libhardware-da4b0b26d170971448fdb04817b308900b5a6dd8.tar.gz
hardware_libhardware-da4b0b26d170971448fdb04817b308900b5a6dd8.tar.bz2
rename audio policy output flags.
Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
-rw-r--r--include/hardware/audio_policy.h6
-rw-r--r--modules/audio/audio_policy.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/hardware/audio_policy.h b/include/hardware/audio_policy.h
index 0dc8687..78a1a62 100644
--- a/include/hardware/audio_policy.h
+++ b/include/hardware/audio_policy.h
@@ -133,7 +133,7 @@ struct audio_policy {
uint32_t samplingRate,
audio_format_t format,
uint32_t channels,
- audio_policy_output_flags_t flags);
+ audio_output_flags_t flags);
/* indicates to the audio policy manager that the output starts being used
* by corresponding stream. */
@@ -263,7 +263,7 @@ struct audio_policy_service_ops {
audio_format_t *pFormat,
audio_channel_mask_t *pChannelMask,
uint32_t *pLatencyMs,
- audio_policy_output_flags_t flags);
+ audio_output_flags_t flags);
/* creates a special output that is duplicated to the two outputs passed as
* arguments. The duplication is performed by
@@ -380,7 +380,7 @@ struct audio_policy_service_ops {
audio_format_t *pFormat,
audio_channel_mask_t *pChannelMask,
uint32_t *pLatencyMs,
- audio_policy_output_flags_t flags);
+ audio_output_flags_t flags);
/* Opens an audio input on a particular HW module.
*
diff --git a/modules/audio/audio_policy.c b/modules/audio/audio_policy.c
index 8d7e5c3..ee95e92 100644
--- a/modules/audio/audio_policy.c
+++ b/modules/audio/audio_policy.c
@@ -99,7 +99,7 @@ static audio_io_handle_t ap_get_output(struct audio_policy *pol,
uint32_t sampling_rate,
audio_format_t format,
uint32_t channels,
- audio_policy_output_flags_t flags)
+ audio_output_flags_t flags)
{
return 0;
}