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 fa17ce9 commit ce67e2aCopy full SHA for ce67e2a
shared-module/audiocore/RawSample.c
@@ -55,8 +55,6 @@ uint8_t common_hal_audioio_rawsample_get_channel_count(audioio_rawsample_obj_t *
55
void audioio_rawsample_reset_buffer(audioio_rawsample_obj_t *self,
56
bool single_channel_output,
57
uint8_t channel) {
58
-
59
- // self->buffer_index = 0;
60
}
61
62
audioio_get_buffer_result_t audioio_rawsample_get_buffer(audioio_rawsample_obj_t *self,
@@ -82,7 +80,6 @@ audioio_get_buffer_result_t audioio_rawsample_get_buffer(audioio_rawsample_obj_t
82
80
*buffer = self->buffer + self->len / 2 * self->buffer_index;
83
81
84
self->buffer_index = 1 - self->buffer_index;
85
- // return GET_BUFFER_MORE_DATA;
86
return GET_BUFFER_DONE;
87
88
0 commit comments