From 915a5eddeb4f0d3aeb66c43db780d7e0915e6cad Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Fri, 5 Mar 2021 10:22:05 -0500 Subject: [audiocore] `buffer_read` was never used --- shared-module/audiocore/RawSample.c | 1 - shared-module/audiocore/RawSample.h | 1 - 2 files changed, 2 deletions(-) (limited to 'shared-module') diff --git a/shared-module/audiocore/RawSample.c b/shared-module/audiocore/RawSample.c index a69ddeb65..316a1c69f 100644 --- a/shared-module/audiocore/RawSample.c +++ b/shared-module/audiocore/RawSample.c @@ -43,7 +43,6 @@ void common_hal_audioio_rawsample_construct(audioio_rawsample_obj_t* self, self->len = len; self->channel_count = channel_count; self->sample_rate = sample_rate; - self->buffer_read = false; } void common_hal_audioio_rawsample_deinit(audioio_rawsample_obj_t* self) { diff --git a/shared-module/audiocore/RawSample.h b/shared-module/audiocore/RawSample.h index 6c2c19c9b..2ea8c89f4 100644 --- a/shared-module/audiocore/RawSample.h +++ b/shared-module/audiocore/RawSample.h @@ -39,7 +39,6 @@ typedef struct { bool samples_signed; uint8_t channel_count; uint32_t sample_rate; - bool buffer_read; } audioio_rawsample_obj_t; -- cgit v1.2.3