From ce917e441695bca78b53b4e021622fff57cd4baf Mon Sep 17 00:00:00 2001 From: Sanket Agarwal Date: Fri, 8 Apr 2016 11:27:53 -0700 Subject: [PATCH] Add interface for focus gain in A2DP SNK audio track. Bug: b/28065071 Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8 --- include/hardware/bt_av.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/hardware/bt_av.h b/include/hardware/bt_av.h index 428a5b1..9b32216 100644 --- a/include/hardware/bt_av.h +++ b/include/hardware/bt_av.h @@ -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 -- 2.11.0