Skip to content

I2S init() to support multiple files sample_rate/bit_widths? #9139

Discussion options

You must be logged in to vote

The i2s constructor and i2s.init() share all parameters beside the id argument of the constructor. Calling either of them does a full reconfiguration of the I2S device. If you call the constructor for an ID that has already been used, the existing object will be re-used and the same will happen as calling i2s.init(). So - there is no difference whether you create the i2s object once and run i2s.init() afterwards or if you call the constructor every time.

I do not know of any implementation for decoding. A python implementation may be too slow.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zachmoshe
Comment options

@robert-hh
Comment options

Answer selected by zachmoshe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants