Skip to content

Commit ce67e2a

Browse files
committed
remove dead code
1 parent fa17ce9 commit ce67e2a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

shared-module/audiocore/RawSample.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ uint8_t common_hal_audioio_rawsample_get_channel_count(audioio_rawsample_obj_t *
5555
void audioio_rawsample_reset_buffer(audioio_rawsample_obj_t *self,
5656
bool single_channel_output,
5757
uint8_t channel) {
58-
59-
// self->buffer_index = 0;
6058
}
6159

6260
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
8280
*buffer = self->buffer + self->len / 2 * self->buffer_index;
8381
}
8482
self->buffer_index = 1 - self->buffer_index;
85-
// return GET_BUFFER_MORE_DATA;
8683
return GET_BUFFER_DONE;
8784
}
8885
}

0 commit comments

Comments
 (0)