OSDN Git Service

Add interface for focus gain in A2DP SNK audio track.
authorSanket Agarwal <sanketa@google.com>
Fri, 8 Apr 2016 18:27:53 +0000 (11:27 -0700)
committerSanket Agarwal <sanketa@google.com>
Fri, 15 Apr 2016 20:22:52 +0000 (20:22 +0000)
Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8

include/hardware/bt_av.h

index 428a5b1..9b32216 100644 (file)
@@ -98,7 +98,10 @@ typedef struct {
     void  (*cleanup)( void );
 
     /** Sends Audio Focus State. */
-    void  (*audio_focus_state)( int focus_state );
+    void  (*set_audio_focus_state)( int focus_state );
+
+    /** Sets the audio track gain. */
+    void  (*set_audio_track_gain)( float gain );
 } btav_interface_t;
 
 __END_DECLS