summaryrefslogtreecommitdiff
path: root/shared-module/audiomp3/MP3File.h
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2019-12-13 13:45:16 -0500
committerRoy Hooper <rhooper@toybox.ca>2019-12-13 13:45:16 -0500
commit72ad2e9259cdf99529298fb83791d268e227f4b3 (patch)
treeb0fde82fbf4e4e5fa3077769ae9c1fd338a00e7d /shared-module/audiomp3/MP3File.h
parent0326c98fd5409d10167d3d2cb3c6ea9dd898a543 (diff)
parent6c3d555b873fb7dddfa09ff24c6630c1aae47d3d (diff)
Merge branch 'master' into new-pixelbuf-api
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.