OSDN Git Service

rename audio policy output flags.
authorEric Laurent <elaurent@google.com>
Wed, 18 Apr 2012 20:58:44 +0000 (13:58 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 18 Apr 2012 20:58:44 +0000 (13:58 -0700)
Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b

include/hardware/audio_policy.h
modules/audio/audio_policy.c

index 0dc8687..78a1a62 100644 (file)
@@ -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.
      *
index 8d7e5c3..ee95e92 100644 (file)
@@ -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;
 }