diff --git a/include/hardware/audio_policy.h b/include/hardware/audio_policy.h index 0dc86874..78a1a621 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 8d7e5c37..ee95e929 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; }