diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2019-12-12 10:14:11 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-12 10:14:11 -0800 |
| commit | bf8796bca459c675e4e28097d75493e81e6502c3 (patch) | |
| tree | 5a09ca7e534ed61471d0886fe914fbcf062d9d26 /shared-module/audiomp3/MP3File.h | |
| parent | b220befef80018c9d0a280a98597e96cd5350808 (diff) | |
| parent | 1cdac3f16a9244c992e8494a7246ab643cdb47c0 (diff) | |
Merge pull request #2375 from jepler/mp3-hardfault
MP3File: Bug fixes
Diffstat (limited to 'shared-module/audiomp3/MP3File.h')
| -rw-r--r-- | shared-module/audiomp3/MP3File.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-module/audiomp3/MP3File.h b/shared-module/audiomp3/MP3File.h index 12649ac1a..9d99e8d1f 100644 --- a/shared-module/audiomp3/MP3File.h +++ b/shared-module/audiomp3/MP3File.h @@ -39,7 +39,7 @@ typedef struct { uint8_t* inbuf; uint32_t inbuf_length; uint32_t inbuf_offset; - uint8_t* buffers[2]; + int16_t* buffers[2]; uint32_t len; uint32_t frame_buffer_size; @@ -50,8 +50,8 @@ typedef struct { uint8_t channel_count; bool eof; - uint16_t read_count; - uint16_t channel_read_count[2]; + int8_t other_channel; + int8_t other_buffer_index; } audiomp3_mp3file_obj_t; // These are not available from Python because it may be called in an interrupt. |
