Skip to content

supporting of different bits per sample #5244

Closed
@tedhsieh1966

Description

@tedhsieh1966

In https://github.com/espressif/esp-idf/blob/master/components/driver/include/driver/i2s.h , there are different type of bit width per sample supported as following.
/**

  • @brief I2S bit width per sample.

/
typedef enum {
I2S_BITS_PER_SAMPLE_8BIT = 8, /
!< I2S bits per sample: 8-bits*/
I2S_BITS_PER_SAMPLE_16BIT = 16, /!< I2S bits per sample: 16-bits/
I2S_BITS_PER_SAMPLE_24BIT = 24, /!< I2S bits per sample: 24-bits/
I2S_BITS_PER_SAMPLE_32BIT = 32, /!< I2S bits per sample: 32-bits/
} i2s_bits_per_sample_t;

However, in Arduino/cores/esp8266/i2s.h there is no description on how to use these.

Is there supporting of these bits_per_sample from cores for esp8266?
If yes, where can I find the usage documentation or examples?
If no, will there be a schedule to support them?

Thanks for any replying.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions