Skip to content

16-24 Bit resample and Volume impact ? and VolumeMeter output ? #704

Answered by pschatzmann
Ives-Heymans asked this question in Q&A
Discussion options

You must be logged in to vote

Setting the volume for A2DP is always done with 16 bit calculations.

If you report using the VolumeMeter using volumePercent(), volumeRatio() or volumeDB() there should not be any difference but the reported volume() values depend on the bits: the max values for

  • 16 bits: 32767
  • 24 bits: 8388607
  • 32 bits: 2147483647

Make sure that the VolumeMeter is configured correctly with the correct input bits per sample.

Maybe you did something wrong in your sketch ?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

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

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