diff options
| author | Jeff Epler <jeff@adafruit.com> | 2021-03-05 15:52:39 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-05 15:52:39 -0600 |
| commit | 2881699cf962005573a079c5345bc6232768bb68 (patch) | |
| tree | fcdd633f390828398abe309c8f70be7c0ca6cb8f /shared-module | |
| parent | dfcc9c6d8b22d0f2be4d9350c63486b15cb85fa3 (diff) | |
| parent | 915a5eddeb4f0d3aeb66c43db780d7e0915e6cad (diff) | |
Merge pull request #4338 from tyomitch/patch-2
[audiocore] `buffer_read` was never used
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/audiocore/RawSample.c | 1 | ||||
| -rw-r--r-- | shared-module/audiocore/RawSample.h | 1 |
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; |
