Skip to content

volume control #1043

Answered by pschatzmann
vorosj asked this question in Q&A
Nov 9, 2023 · 5 comments · 1 reply
Discussion options

You must be logged in to vote

In the example the volume.begin() is missing, therefore you don't see any impact!

The stream A2DP examples add an additional layer of buffers with the corresponding lag.
Therefore I am recommending to use the basic API examples instead for A2DP

However don't expect a big difference: A2DP seems to have a big lag because if all the internal bufferung where we do not have any influence.

ps. I also corrected the bug in the A2DPStream which was setting the initial volume a little too low and removed the VolumeStream from the example to use the built in volume functionality of the A2DP library. I am aware, that this is not adressing your issue, but it helps to simplify the example. If you don't…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@vorosj
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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