OSDN Git Service

Merge "set_mode and set_phone_state now take audio_mode_t"
[android-x86/hardware-libhardware.git] / modules / audio / audio_policy.c
index ca8b054..c805601 100644 (file)
@@ -201,7 +201,7 @@ static int ap_set_effect_enabled(struct audio_policy *pol, int id, bool enabled)
     return -ENOSYS;
 }
 
-static bool ap_is_stream_active(const struct audio_policy *pol, int stream,
+static bool ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream,
                                 uint32_t in_past_ms)
 {
     return false;