Skip to content

Revisit: Config of I2S interface as PCM output? #1698

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

You must be logged in to vote

This answer is nonsense: You should rather rely on the actual original documentation provided by the platforms you want to use!

The Espressif IDF provides a low level C I2S API. Your example above uses the API which is obsolete and is not supported any more!

If you are using Arduino you better use either the high level I2S API that is provided by Arduino or the one provided by this project.
For further information on the latter, read the Wiki!

The advantage of the audio-tools is, that it provides a consistent API across platforms and versions

ps. I2S is by definition a protocol using PCM data and any of the APIs above supports mono

Replies: 2 comments 1 reply

Comment options

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

Answer selected by Inssomniak
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