public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 01/11] org.bluez.MediaEndpoint: removing BAP streams with ClearConfiguration
@ 2025-05-04 16:01 Pauli Virtanen
  2025-05-04 17:39 ` [BlueZ,01/11] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Pauli Virtanen @ 2025-05-04 16:01 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Allow user to remove specific streams by calling
ClearConfiguration(transport_path) on the endpoint.  If the path is the
endpoint path instead, clear all streams associated with the endpoint.
---

Notes:
    Whole patch series:
    
    Pipewire side: https://gitlab.freedesktop.org/pvir/pipewire/-/commits/bap-codec-switch-select
    
    Tested with
    - Sony Linkbuds S: switching between AC 6(ii), 7(ii), 8(ii), 11(ii)
    - Earfun Air Pro 3: switching between AC 6(i), 11(i)
    
    TODO:
    - Enabling/Disabling while Reconfigure/ClearConfiguration is in progress
      should be handled better.
      Stream QoS should be delayed until CIG is no longer busy.

 doc/org.bluez.MediaEndpoint.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/org.bluez.MediaEndpoint.rst b/doc/org.bluez.MediaEndpoint.rst
index f2b830ab0..b81106f0b 100644
--- a/doc/org.bluez.MediaEndpoint.rst
+++ b/doc/org.bluez.MediaEndpoint.rst
@@ -109,6 +109,12 @@ void ClearConfiguration(object transport)
 
 	Clear transport configuration.
 
+	**Server role:** [ISO only]
+
+	Close the stream associated with the given transport. If the
+	path given is the path of this endpoint, all its streams are
+	closed.
+
 void Release()
 ``````````````
 
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-04 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-04 16:01 [PATCH BlueZ 01/11] org.bluez.MediaEndpoint: removing BAP streams with ClearConfiguration Pauli Virtanen
2025-05-04 17:39 ` [BlueZ,01/11] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox