Skip to content

How to write silence on no data with BluetoothA2DPSink and callbacks #1905

Answered by pschatzmann
unpapardo asked this question in Q&A
Discussion options

You must be logged in to vote

Something does not add up: silence_on_nodata is only relevant for the AudioSource scenario.

The only disadvantage of the A2DPStream is that it uses some additional RAM for a queue, so if you run low of RAM you can just activate PSRAM!

Maybe you get these issues because the internal DAC is deactivated when the output is stopped. You can prevent this by not defining any output to the BluetoothA2DPSink and do the output yourself in the data callback.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants