summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libpcm/ms_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/ms_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/ms_adpcm.c')
-rw-r--r--lib/rbcodec/codecs/libpcm/ms_adpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libpcm/ms_adpcm.c b/lib/rbcodec/codecs/libpcm/ms_adpcm.c
index a385d6c99f..b5fe463c74 100644
--- a/lib/rbcodec/codecs/libpcm/ms_adpcm.c
+++ b/lib/rbcodec/codecs/libpcm/ms_adpcm.c
@@ -37,14 +37,14 @@ static int16_t dec_coeff[2][2];
37static uint16_t delta[2]; 37static uint16_t delta[2];
38static int16_t sample[2][2]; 38static int16_t sample[2][2];
39 39
40static struct pcm_format *fmt; 40static struct libpcm_pcm_format *fmt;
41 41
42static const int16_t adaptation_table[] ICONST_ATTR = { 42static const int16_t adaptation_table[] ICONST_ATTR = {
43 230, 230, 230, 230, 307, 409, 512, 614, 43 230, 230, 230, 230, 307, 409, 512, 614,
44 768, 614, 512, 409, 307, 230, 230, 230 44 768, 614, 512, 409, 307, 230, 230, 230
45}; 45};
46 46
47static bool set_format(struct pcm_format *format) 47static bool set_format(struct libpcm_pcm_format *format)
48{ 48{
49 fmt = format; 49 fmt = format;
50 50