public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH BlueZ v2 01/11] org.bluez.MediaEndpoint: removing BAP streams with ClearConfiguration
@ 2025-05-04 16:01 Pauli Virtanen
  2025-05-04 16:01 ` [RFC PATCH BlueZ v2 02/11] org.bluez.MediaEndpoint: add client role Reconfigure Pauli Virtanen
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ 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] 15+ messages in thread

end of thread, other threads:[~2025-05-18 18:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-04 16:01 [RFC PATCH BlueZ v2 01/11] org.bluez.MediaEndpoint: removing BAP streams with ClearConfiguration Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 02/11] org.bluez.MediaEndpoint: add client role Reconfigure Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 03/11] shared/bap: bap_abort_stream_req() should cancel also current req Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 04/11] shared/bap: fix ucast client ASE usage Pauli Virtanen
2025-05-06 16:56   ` Luiz Augusto von Dentz
2025-05-18 18:08     ` Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 05/11] bap: discard stream when no longer in use Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 06/11] bap: do not try QoS before links are updated & io created Pauli Virtanen
2025-05-04 16:01 ` [RFC PATCH BlueZ v2 07/11] bap: add ready callback for setup configuration Pauli Virtanen
2025-05-04 16:02 ` [RFC PATCH BlueZ v2 08/11] bap: support removing streams with ClearConfiguration() Pauli Virtanen
2025-05-04 16:02 ` [RFC PATCH BlueZ v2 09/11] bap: add callback at the end of ucast client select/config Pauli Virtanen
2025-05-04 16:02 ` [RFC PATCH BlueZ v2 10/11] bap: implement Reconfigure() Pauli Virtanen
2025-05-04 16:02 ` [RFC PATCH BlueZ v2 11/11] bap: delay recreating IO after ongoing configuration Pauli Virtanen
2025-05-04 17:36 ` [RFC,BlueZ,v2,01/11] org.bluez.MediaEndpoint: removing BAP streams with ClearConfiguration bluez.test.bot
2025-05-06 17:20 ` [RFC PATCH BlueZ v2 01/11] " patchwork-bot+bluetooth

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