summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/au.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/au.c')
-rw-r--r--lib/rbcodec/codecs/au.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/au.c b/lib/rbcodec/codecs/au.c
index 18d4296125..388c241140 100644
--- a/lib/rbcodec/codecs/au.c
+++ b/lib/rbcodec/codecs/au.c
@@ -88,7 +88,7 @@ static unsigned int get_be32(uint8_t *buf)
88 return (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; 88 return (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
89} 89}
90 90
91static int convert_au_format(unsigned int encoding, struct pcm_format *fmt) 91static int convert_au_format(unsigned int encoding, struct libpcm_pcm_format *fmt)
92{ 92{
93 fmt->formattag = AU_FORMAT_UNSUPPORT; 93 fmt->formattag = AU_FORMAT_UNSUPPORT;
94 if (encoding < 8) 94 if (encoding < 8)
@@ -119,7 +119,7 @@ enum codec_status codec_main(enum codec_entry_call_reason reason)
119/* this is called for each file to process */ 119/* this is called for each file to process */
120enum codec_status codec_run(void) 120enum codec_status codec_run(void)
121{ 121{
122 struct pcm_format format; 122 struct libpcm_pcm_format format;
123 uint32_t bytesdone, decodedsamples; 123 uint32_t bytesdone, decodedsamples;
124 size_t n; 124 size_t n;
125 int bufcount; 125 int bufcount;
@@ -142,7 +142,7 @@ enum codec_status codec_run(void)
142 param = ci->id3->elapsed; 142 param = ci->id3->elapsed;
143 bytesdone = ci->id3->offset; 143 bytesdone = ci->id3->offset;
144 144
145 ci->memset(&format, 0, sizeof(struct pcm_format)); 145 ci->memset(&format, 0, sizeof(struct libpcm_pcm_format));
146 format.is_signed = true; 146 format.is_signed = true;
147 format.is_little_endian = false; 147 format.is_little_endian = false;
148 148