Skip to content

Commit 671178c

Browse files
committed
[shared-module/audioio/WaveFile.h] Change sample_rate from uint16_t to uint32_t so it matches the sample rate type parsed from the WAV header format, fix adafruit#1922
1 parent c5a4e19 commit 671178c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-module/audioio/WaveFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ typedef struct {
4444
uint32_t bytes_remaining;
4545

4646
uint8_t channel_count;
47-
uint16_t sample_rate;
47+
uint32_t sample_rate;
4848

4949
uint32_t len;
5050
pyb_file_obj_t* file;

0 commit comments

Comments
 (0)