summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Skrobov <tyomitch@gmail.com>2021-03-05 10:22:05 -0500
committerArtyom Skrobov <tyomitch@gmail.com>2021-03-05 10:25:09 -0500
commit915a5eddeb4f0d3aeb66c43db780d7e0915e6cad (patch)
treeeefa705776c360fb15a2c53f53e93540487b1f3b
parentc68073e12b49a33460baa320da87374d359ed96b (diff)
[audiocore] `buffer_read` was never used
-rw-r--r--shared-module/audiocore/RawSample.c1
-rw-r--r--shared-module/audiocore/RawSample.h1
2 files changed, 0 insertions, 2 deletions
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;