summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos <carlos.santiago.diaz@gmail.com>2019-06-04 21:30:55 -0500
committerCarlos <carlos.santiago.diaz@gmail.com>2019-06-04 21:31:30 -0500
commit671178c8c4ab6fb9a50d55dfa9b28a945ce9479a (patch)
treead46660d09aeec24d3a5633eeabdc3b96be7b016
parentc5a4e19d6f76a09cba73149d5e3d4548da320899 (diff)
[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 #1922
-rw-r--r--shared-module/audioio/WaveFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/audioio/WaveFile.h b/shared-module/audioio/WaveFile.h
index 75a46c03b..2cee2b1d2 100644
--- a/shared-module/audioio/WaveFile.h
+++ b/shared-module/audioio/WaveFile.h
@@ -44,7 +44,7 @@ typedef struct {
uint32_t bytes_remaining;
uint8_t channel_count;
- uint16_t sample_rate;
+ uint32_t sample_rate;
uint32_t len;
pyb_file_obj_t* file;