summaryrefslogtreecommitdiff
path: root/modules/amr
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/amr
parent5148e7def697fc91d2ff7ec812d07b665f65397d (diff)
aucodec: split srate into srate and crate (Clock Rate)
Diffstat (limited to 'modules/amr')
-rw-r--r--modules/amr/amr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/amr/amr.c b/modules/amr/amr.c
index 74e353a..0596812 100644
--- a/modules/amr/amr.c
+++ b/modules/amr/amr.c
@@ -292,7 +292,7 @@ static int decode_nb(struct audec_state *st, int16_t *sampv,
#ifdef AMR_WB
static struct aucodec amr_wb = {
- LE_INIT, NULL, "AMR-WB", 16000, 1, NULL,
+ LE_INIT, NULL, "AMR-WB", 16000, 16000, 1, NULL,
encode_update, encode_wb,
decode_update, decode_wb,
NULL, amr_fmtp_enc, amr_fmtp_cmp
@@ -300,7 +300,7 @@ static struct aucodec amr_wb = {
#endif
#ifdef AMR_NB
static struct aucodec amr_nb = {
- LE_INIT, NULL, "AMR", 8000, 1, NULL,
+ LE_INIT, NULL, "AMR", 8000, 8000, 1, NULL,
encode_update, encode_nb,
decode_update, decode_nb,
NULL, amr_fmtp_enc, amr_fmtp_cmp