summaryrefslogtreecommitdiff
path: root/shared-module/audiomp3/MP3File.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-12-12 15:51:13 -0500
committerDan Halbert <halbert@halwitz.org>2019-12-12 15:51:13 -0500
commitef2ef7a6b8c30dd64753e2ceca7587d9ead90e44 (patch)
treeada3663598b60f30a1ba53b3a8ff5b8143af8e76 /shared-module/audiomp3/MP3File.h
parente11fabd5e0979fa257a81d6025a0df0b6652b600 (diff)
parentbcd03ed7ee6cfbf0f3be926c2f7912201c5a7ca6 (diff)
merge from master
Diffstat (limited to 'shared-module/audiomp3/MP3File.h')
-rw-r--r--shared-module/audiomp3/MP3File.h6
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.