diff options
Diffstat (limited to 'lib/rbcodec/codecs/smaf.c')
-rw-r--r-- | lib/rbcodec/codecs/smaf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rbcodec/codecs/smaf.c b/lib/rbcodec/codecs/smaf.c index e4ec6342b2..eed9d39db4 100644 --- a/lib/rbcodec/codecs/smaf.c +++ b/lib/rbcodec/codecs/smaf.c | |||
@@ -134,7 +134,7 @@ static unsigned int search_chunk(const unsigned char *name, int nlen, off_t *pos | |||
134 | return 0; | 134 | return 0; |
135 | } | 135 | } |
136 | 136 | ||
137 | static bool parse_audio_track(struct pcm_format *fmt, unsigned int chunksize, off_t *pos) | 137 | static bool parse_audio_track(struct libpcm_pcm_format *fmt, unsigned int chunksize, off_t *pos) |
138 | { | 138 | { |
139 | const unsigned char *buf; | 139 | const unsigned char *buf; |
140 | size_t size; | 140 | size_t size; |
@@ -185,7 +185,7 @@ static bool parse_audio_track(struct pcm_format *fmt, unsigned int chunksize, of | |||
185 | return true; | 185 | return true; |
186 | } | 186 | } |
187 | 187 | ||
188 | static bool parse_score_track(struct pcm_format *fmt, off_t *pos) | 188 | static bool parse_score_track(struct libpcm_pcm_format *fmt, off_t *pos) |
189 | { | 189 | { |
190 | const unsigned char *buf; | 190 | const unsigned char *buf; |
191 | unsigned int chunksize; | 191 | unsigned int chunksize; |
@@ -277,13 +277,13 @@ static bool parse_score_track(struct pcm_format *fmt, off_t *pos) | |||
277 | return true; | 277 | return true; |
278 | } | 278 | } |
279 | 279 | ||
280 | static bool parse_header(struct pcm_format *fmt, off_t *pos) | 280 | static bool parse_header(struct libpcm_pcm_format *fmt, off_t *pos) |
281 | { | 281 | { |
282 | const unsigned char *buf; | 282 | const unsigned char *buf; |
283 | unsigned int chunksize; | 283 | unsigned int chunksize; |
284 | size_t size; | 284 | size_t size; |
285 | 285 | ||
286 | ci->memset(fmt, 0, sizeof(struct pcm_format)); | 286 | ci->memset(fmt, 0, sizeof(struct libpcm_pcm_format)); |
287 | 287 | ||
288 | /* check File Chunk and Contents Info Chunk */ | 288 | /* check File Chunk and Contents Info Chunk */ |
289 | buf = ci->request_buffer(&size, 16); | 289 | buf = ci->request_buffer(&size, 16); |
@@ -319,7 +319,7 @@ static bool parse_header(struct pcm_format *fmt, off_t *pos) | |||
319 | return true; | 319 | return true; |
320 | } | 320 | } |
321 | 321 | ||
322 | static struct pcm_format format; | 322 | static struct libpcm_pcm_format format; |
323 | static uint32_t bytesdone; | 323 | static uint32_t bytesdone; |
324 | 324 | ||
325 | static uint8_t *read_buffer(size_t *realsize) | 325 | static uint8_t *read_buffer(size_t *realsize) |