Module: sems Branch: master Commit: 504a084d6a047b64ce12b2684af5ce19a9e661b5 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=504a084d6a047b64ce12b2684af5ce19a9e661b5
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Tue Mar 6 11:18:06 2012 +0100 speex: higher sample rates preferred. --- core/plug-in/speex/speex.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/plug-in/speex/speex.c b/core/plug-in/speex/speex.c index 0df0d12..2d4ee48 100644 --- a/core/plug-in/speex/speex.c +++ b/core/plug-in/speex/speex.c @@ -88,21 +88,21 @@ static unsigned int speexNB_samples2bytes(long, unsigned int); BEGIN_EXPORTS("speex", AMCI_NO_MODULEINIT, AMCI_NO_MODULEDESTROY) BEGIN_CODECS -CODEC(CODEC_SPEEX_NB, Pcm16_2_SpeexNB, SpeexNB_2_Pcm16, AMCI_NO_CODEC_PLC, - speexNB_create, speexNB_destroy, - speexNB_bytes2samples, speexNB_samples2bytes) #if SYSTEM_SAMPLECLOCK_RATE >=16000 CODEC(CODEC_SPEEX_WB, Pcm16_2_SpeexNB, SpeexNB_2_Pcm16, AMCI_NO_CODEC_PLC, speexWB_create, speexNB_destroy, speexNB_bytes2samples, speexNB_samples2bytes) #endif +CODEC(CODEC_SPEEX_NB, Pcm16_2_SpeexNB, SpeexNB_2_Pcm16, AMCI_NO_CODEC_PLC, + speexNB_create, speexNB_destroy, + speexNB_bytes2samples, speexNB_samples2bytes) END_CODECS BEGIN_PAYLOADS -PAYLOAD(-1, "speex", 8000, 8000, 1, CODEC_SPEEX_NB, AMCI_PT_AUDIO_FRAME) #if SYSTEM_SAMPLECLOCK_RATE >=16000 PAYLOAD(-1, "speex", 16000, 16000, 1, CODEC_SPEEX_WB, AMCI_PT_AUDIO_FRAME) #endif +PAYLOAD(-1, "speex", 8000, 8000, 1, CODEC_SPEEX_NB, AMCI_PT_AUDIO_FRAME) END_PAYLOADS BEGIN_FILE_FORMATS _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
