diff options
Diffstat (limited to 'codecs/codec_speex.c')
-rw-r--r-- | codecs/codec_speex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c index 85f231f9b..2bfdec228 100644 --- a/codecs/codec_speex.c +++ b/codecs/codec_speex.c @@ -363,7 +363,7 @@ static struct ast_translator speexwbtolin16 = { .newpvt = speexwbtolin16_new, .framein = speextolin_framein, .destroy = speextolin_destroy, - .sample = speex_sample, + .sample = speex16_sample, .desc_size = sizeof(struct speex_coder_pvt), .buffer_samples = BUFFER_SAMPLES, .buf_size = BUFFER_SAMPLES * 2, @@ -378,7 +378,7 @@ static struct ast_translator lin16tospeexwb = { .framein = lintospeex_framein, .frameout = lintospeex_frameout, .destroy = lintospeex_destroy, - .sample = slin8_sample, + .sample = slin16_sample, .desc_size = sizeof(struct speex_coder_pvt), .buffer_samples = BUFFER_SAMPLES, .buf_size = BUFFER_SAMPLES * 2, /* XXX maybe a lot less ? */ |