summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/wav.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-11-06 20:06:08 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-11-06 20:06:08 -0500
commit826f99e18701988d7e7cdc3d7019a20e1d697403 (patch)
treee3d9bcdc138426bba1c1bb6d70a6240ea206d0f3 /lib/rbcodec/codecs/wav.c
parent1015e1f5ca4fb7eec096677985b21b94c2699a22 (diff)
downloadrockbox-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.c4
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
97static struct pcm_format format; 97static struct libpcm_pcm_format format;
98static uint32_t bytesdone; 98static uint32_t bytesdone;
99 99
100static bool set_msadpcm_coeffs(const uint8_t *buf) 100static 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