aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2021-10-11 07:29:12 +0000
committerŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2021-10-11 07:29:18 +0000
commitc37fe976ad0d84bb4d07f983fd196a6532e514ed (patch)
tree1f44f93b3108a68be7d8cea4b337bf8b1eaa0a01
parent1fb144c1c2684cd00ab52927e75f97a28463d798 (diff)
downloadbt-c37fe976ad0d84bb4d07f983fd196a6532e514ed.tar.gz
leaudio: Add missing GroupSetActive API
Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ test: compile Change-Id: Ic6aacc788ddb19fa38225214e57d2d34cadde216
-rw-r--r--btif/src/btif_le_audio.cc2
-rw-r--r--include/hardware/bt_le_audio.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/btif/src/btif_le_audio.cc b/btif/src/btif_le_audio.cc
index 90f2df09a..1fd31b986 100644
--- a/btif/src/btif_le_audio.cc
+++ b/btif/src/btif_le_audio.cc
@@ -78,6 +78,8 @@ class LeAudioClientInterfaceImpl : public LeAudioClientInterface,
void Disconnect(const RawAddress& address) override {}
+ void GroupSetActive(const int group_id) override {}
+
private:
LeAudioClientCallbacks* callbacks;
};
diff --git a/include/hardware/bt_le_audio.h b/include/hardware/bt_le_audio.h
index 39ce6fbfa..ca3b1b204 100644
--- a/include/hardware/bt_le_audio.h
+++ b/include/hardware/bt_le_audio.h
@@ -86,6 +86,9 @@ class LeAudioClientInterface {
/* Cleanup the LeAudio */
virtual void Cleanup(void) = 0;
+
+ /* Set active le audio group */
+ virtual void GroupSetActive(int group_id) = 0;
};
static constexpr uint8_t INSTANCE_ID_UNDEFINED = 0xFF;