From 826f99e18701988d7e7cdc3d7019a20e1d697403 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 6 Nov 2017 20:06:08 -0500 Subject: libpcm: Get unbranded structure tag out of my way. No functional changes. Change-Id: If372023cb605389a203a635b700eca20685ad49b --- lib/rbcodec/codecs/smaf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/rbcodec/codecs/smaf.c') 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 return 0; } -static bool parse_audio_track(struct pcm_format *fmt, unsigned int chunksize, off_t *pos) +static bool parse_audio_track(struct libpcm_pcm_format *fmt, unsigned int chunksize, off_t *pos) { const unsigned char *buf; size_t size; @@ -185,7 +185,7 @@ static bool parse_audio_track(struct pcm_format *fmt, unsigned int chunksize, of return true; } -static bool parse_score_track(struct pcm_format *fmt, off_t *pos) +static bool parse_score_track(struct libpcm_pcm_format *fmt, off_t *pos) { const unsigned char *buf; unsigned int chunksize; @@ -277,13 +277,13 @@ static bool parse_score_track(struct pcm_format *fmt, off_t *pos) return true; } -static bool parse_header(struct pcm_format *fmt, off_t *pos) +static bool parse_header(struct libpcm_pcm_format *fmt, off_t *pos) { const unsigned char *buf; unsigned int chunksize; size_t size; - ci->memset(fmt, 0, sizeof(struct pcm_format)); + ci->memset(fmt, 0, sizeof(struct libpcm_pcm_format)); /* check File Chunk and Contents Info Chunk */ buf = ci->request_buffer(&size, 16); @@ -319,7 +319,7 @@ static bool parse_header(struct pcm_format *fmt, off_t *pos) return true; } -static struct pcm_format format; +static struct libpcm_pcm_format format; static uint32_t bytesdone; static uint8_t *read_buffer(size_t *realsize) -- cgit v1.2.3