From b839fce160d88ed93846af45fe34f655fe80c682 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 1 May 2016 21:01:27 +0200 Subject: aucodec: split srate into srate and crate (Clock Rate) --- modules/amr/amr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/amr') 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 -- cgit v1.2.3