OSDN Git Service

Rename setStreamOutput to invalidateStream
authorGlenn Kasten <gkasten@google.com>
Mon, 3 Feb 2014 16:44:57 +0000 (08:44 -0800)
committerGlenn Kasten <gkasten@google.com>
Fri, 28 Feb 2014 19:55:58 +0000 (11:55 -0800)
And simplify by removing the unused I/O handle parameter 'output'.

Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e

include/hardware/audio_policy.h

index 4e75e02..cbaa31d 100644 (file)
@@ -332,10 +332,9 @@ struct audio_policy_service_ops {
                              audio_io_handle_t output,
                              int delay_ms);
 
-    /* reroute a given stream type to the specified output */
-    int (*set_stream_output)(void *service,
-                             audio_stream_type_t stream,
-                             audio_io_handle_t output);
+    /* invalidate a stream type, causing a reroute to an unspecified new output */
+    int (*invalidate_stream)(void *service,
+                             audio_stream_type_t stream);
 
     /* function enabling to send proprietary informations directly from audio
      * policy manager to audio hardware interface. */