diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-11-06 20:06:08 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-11-06 20:06:08 -0500 |
commit | 826f99e18701988d7e7cdc3d7019a20e1d697403 (patch) | |
tree | e3d9bcdc138426bba1c1bb6d70a6240ea206d0f3 /lib/rbcodec/codecs/wav.c | |
parent | 1015e1f5ca4fb7eec096677985b21b94c2699a22 (diff) | |
download | rockbox-826f99e18701988d7e7cdc3d7019a20e1d697403.tar.gz rockbox-826f99e18701988d7e7cdc3d7019a20e1d697403.zip |
libpcm: Get unbranded structure tag out of my way.
No functional changes.
Change-Id: If372023cb605389a203a635b700eca20685ad49b
Diffstat (limited to 'lib/rbcodec/codecs/wav.c')
-rw-r--r-- | lib/rbcodec/codecs/wav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/wav.c b/lib/rbcodec/codecs/wav.c index 3208e2b5b8..0441be78b8 100644 --- a/lib/rbcodec/codecs/wav.c +++ b/lib/rbcodec/codecs/wav.c | |||
@@ -94,7 +94,7 @@ static const struct pcm_codec *get_wave_codec(uint32_t formattag) | |||
94 | return 0; | 94 | return 0; |
95 | } | 95 | } |
96 | 96 | ||
97 | static struct pcm_format format; | 97 | static struct libpcm_pcm_format format; |
98 | static uint32_t bytesdone; | 98 | static uint32_t bytesdone; |
99 | 99 | ||
100 | static bool set_msadpcm_coeffs(const uint8_t *buf) | 100 | static bool set_msadpcm_coeffs(const uint8_t *buf) |
@@ -202,7 +202,7 @@ enum codec_status codec_run(void) | |||
202 | ci->advance_buffer(12); | 202 | ci->advance_buffer(12); |
203 | 203 | ||
204 | firstblockposn = 12; | 204 | firstblockposn = 12; |
205 | ci->memset(&format, 0, sizeof(struct pcm_format)); | 205 | ci->memset(&format, 0, sizeof(struct libpcm_pcm_format)); |
206 | format.is_signed = true; | 206 | format.is_signed = true; |
207 | format.is_little_endian = true; | 207 | format.is_little_endian = true; |
208 | 208 | ||