We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 011acf4 commit eb876e2Copy full SHA for eb876e2
ports/nrf/common-hal/audiobusio/I2SOut.c
@@ -159,7 +159,7 @@ static void i2s_buffer_fill(audiobusio_i2sout_obj_t* self) {
159
160
// Find the last frame of real audio data and replicate its samples until
161
// you have 32 bits worth, which is the fundamental unit of nRF I2S DMA
162
- if(buffer != buffer_start) {
+ if (buffer != buffer_start) {
163
if (self->bytes_per_sample == 1 && self->channel_count == 1) {
164
// For 8-bit mono, 4 copies of the final sample are required
165
self->hold_value = 0x01010101 * *(uint8_t*)(buffer-1);
0 commit comments