summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libpcm/swf_adpcm.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/libpcm/swf_adpcm.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/libpcm/swf_adpcm.c')
-rw-r--r--lib/rbcodec/codecs/libpcm/swf_adpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libpcm/swf_adpcm.c b/lib/rbcodec/codecs/libpcm/swf_adpcm.c
index c440fd1303..7eb74fdd19 100644
--- a/lib/rbcodec/codecs/libpcm/swf_adpcm.c
+++ b/lib/rbcodec/codecs/libpcm/swf_adpcm.c
@@ -45,11 +45,11 @@ static int blockbits = 0;
45static int lastbytebits = 0; 45static int lastbytebits = 0;
46static bool after_seek = false; 46static bool after_seek = false;
47 47
48static struct pcm_format *fmt; 48static struct libpcm_pcm_format *fmt;
49 49
50#define GET_SAMPLE_COUNT(s) ((((s) << 3) / fmt->channels - 22) / fmt->bitspersample + 1) 50#define GET_SAMPLE_COUNT(s) ((((s) << 3) / fmt->channels - 22) / fmt->bitspersample + 1)
51 51
52static bool set_format(struct pcm_format *format) 52static bool set_format(struct libpcm_pcm_format *format)
53{ 53{
54 fmt = format; 54 fmt = format;
55 55