summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libpcm/ms_adpcm.c
diff options
context:
space:
mode:
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