Skip to content
Commit a75fe69c authored by George Kiagiadakis's avatar George Kiagiadakis Committed by Wim Taymans
Browse files

bluez5: emit & remove the A2DP source node depending on transport state

Typically a source stops the connection when it has nothing to play
and this causes the transport to become "idle" and our A2DP source
also stops. However, the node is still present and "running" (if linked),
which causes the graph to underrun as it receives no data from this node.

This patch dynamically creates and destroys the a2dp source node depending
on the transport state. So, when the transport is idle, there is no node
in the graph at all.
parent c81d44e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment