summaryrefslogtreecommitdiff
path: root/modules/g726/g726.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-05-01 21:01:27 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-05-01 21:01:27 +0200
commitb839fce160d88ed93846af45fe34f655fe80c682 (patch)
tree788b7fdd6c00b9ef79fc596f8cd74c597f04a82a /modules/g726/g726.c
parent5148e7def697fc91d2ff7ec812d07b665f65397d (diff)
aucodec: split srate into srate and crate (Clock Rate)
Diffstat (limited to 'modules/g726/g726.c')
-rw-r--r--modules/g726/g726.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/g726/g726.c b/modules/g726/g726.c
index 3553f47..a23a985 100644
--- a/modules/g726/g726.c
+++ b/modules/g726/g726.c
@@ -149,28 +149,28 @@ static int decode(struct audec_state *st, int16_t *sampv,
static struct g726_aucodec g726[4] = {
{
{
- LE_INIT, 0, "G726-40", 8000, 1, NULL,
+ LE_INIT, 0, "G726-40", 8000, 8000, 1, NULL,
encode_update, encode, decode_update, decode, 0, 0, 0
},
40000
},
{
{
- LE_INIT, 0, "G726-32", 8000, 1, NULL,
+ LE_INIT, 0, "G726-32", 8000, 8000, 1, NULL,
encode_update, encode, decode_update, decode, 0, 0, 0
},
32000
},
{
{
- LE_INIT, 0, "G726-24", 8000, 1, NULL,
+ LE_INIT, 0, "G726-24", 8000, 8000, 1, NULL,
encode_update, encode, decode_update, decode, 0, 0, 0
},
24000
},
{
{
- LE_INIT, 0, "G726-16", 8000, 1, NULL,
+ LE_INIT, 0, "G726-16", 8000, 8000, 1, NULL,
encode_update, encode, decode_update, decode, 0, 0, 0
},
16000