Skip to content

Encoder16 bit , i2s 32 bit #727

Answered by pschatzmann
aqildad-create asked this question in Q&A
Discussion options

You must be logged in to vote

Why don't just just use the FormatConverterStream ?
If you want to program it yourself, I suggest to do some casts, then you can do regular calculations. The input it int32_t* and the result should end in int16_t*.

If you really want to wast some memory your buffer32 should be int32_t and your buffer16 should be int16_t.

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@aqildad-create
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
1 reply
@pschatzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@aqildad-create
Comment options

@pschatzmann
Comment options

@aqildad-create
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