Home
last modified time | relevance | path

Searched refs:src_bits (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/driver/deprecated/driver/
Di2s.h186 esp_err_t i2s_write_expand(i2s_port_t i2s_num, const void *src, size_t size, size_t src_bits, size_…
/hal_espressif-latest/components/driver/deprecated/
Di2s_legacy.c1666 esp_err_t i2s_write_expand(i2s_port_t i2s_num, const void *src, size_t size, size_t src_bits, size_… in i2s_write_expand() argument
1677 …ESP_RETURN_ON_FALSE((aim_bits >= src_bits), ESP_ERR_INVALID_ARG, TAG, "aim_bits mustn't be less th… in i2s_write_expand()
1679 if (src_bits < I2S_BITS_PER_SAMPLE_8BIT || aim_bits < I2S_BITS_PER_SAMPLE_8BIT) { in i2s_write_expand()
1680 ESP_LOGE(TAG, "bits mustn't be less than 8, src_bits %d aim_bits %d", src_bits, aim_bits); in i2s_write_expand()
1683 if (src_bits > I2S_BITS_PER_SAMPLE_32BIT || aim_bits > I2S_BITS_PER_SAMPLE_32BIT) { in i2s_write_expand()
1684 … ESP_LOGE(TAG, "bits mustn't be greater than 32, src_bits %d aim_bits %d", src_bits, aim_bits); in i2s_write_expand()
1687 …if ((src_bits == I2S_BITS_PER_SAMPLE_16BIT || src_bits == I2S_BITS_PER_SAMPLE_32BIT) && (size % 2 … in i2s_write_expand()
1688 …OGE(TAG, "size must be a even number while src_bits is even, src_bits %d size %d", src_bits, size); in i2s_write_expand()
1691 if (src_bits == I2S_BITS_PER_SAMPLE_24BIT && (size % 3 != 0)) { in i2s_write_expand()
1696 src_bytes = src_bits / 8; in i2s_write_expand()