Skip to content

How to set sample_rate in i2s_config_t to not be updated automatically by A2DP #602

Discussion options

You must be logged in to vote

The sample rate is defined by the ESP32 A2DP and can't be changed.

I don't understand what you mean with second device, but if your output DAC only supports 48000, you need to resample. The AudioTools library provides the functionality and documentation how to do this!

Replies: 6 comments 5 replies

Comment options

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

Answer selected by pschatzmann
Comment options

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

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
2 replies
@abarrettFrontier
Comment options

@pschatzmann
Comment options

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