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/au.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/au.c')
-rw-r--r-- | lib/rbcodec/codecs/au.c | 6 |
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 | ||
91 | static int convert_au_format(unsigned int encoding, struct pcm_format *fmt) | 91 | static 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 */ |
120 | enum codec_status codec_run(void) | 120 | enum 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 | ||