1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asterisk/codecs.conf Mon Apr 27 12:19:05 2009 +0200 1.3 @@ -0,0 +1,65 @@ 1.4 +;[speex] 1.5 +; CBR encoding quality [0..10] 1.6 +; used only when vbr = false 1.7 +;quality => 3 1.8 + 1.9 +; codec complexity [0..10] 1.10 +; tradeoff between cpu/quality 1.11 +;complexity => 2 1.12 + 1.13 +; perceptual enhancement [true / false] 1.14 +; improves clarity of decoded speech 1.15 +;enhancement => true 1.16 + 1.17 +; voice activity detection [true / false] 1.18 +; reduces bitrate when no voice detected, used only for CBR 1.19 +; (implicit in VBR/ABR) 1.20 +;vad => true 1.21 + 1.22 +; variable bit rate [true / false] 1.23 +; uses bit rate proportionate to voice complexity 1.24 +;vbr => true 1.25 + 1.26 +; available bit rate [bps, 0 = off] 1.27 +; encoding quality modulated to match this target bit rate 1.28 +; not recommended with dtx or pp_vad - may cause bandwidth spikes 1.29 +;abr => 0 1.30 + 1.31 +; VBR encoding quality [0-10] 1.32 +; floating-point values allowed 1.33 +;vbr_quality => 4 1.34 + 1.35 +; discontinuous transmission [true / false] 1.36 +; stops transmitting completely when silence is detected 1.37 +; pp_vad is far more effective but more CPU intensive 1.38 +;dtx => false 1.39 + 1.40 +; preprocessor configuration 1.41 +; these options only affect Speex v1.1.8 or newer 1.42 + 1.43 +; enable preprocessor [true / false] 1.44 +; allows dsp functionality below but incurs CPU overhead 1.45 +;preprocess => false 1.46 + 1.47 +; preproc voice activity detection [true / false] 1.48 +; more advanced equivalent of DTX, based on voice frequencies 1.49 +;pp_vad => false 1.50 + 1.51 +; preproc automatic gain control [true / false] 1.52 +;pp_agc => false 1.53 +;pp_agc_level => 8000 1.54 + 1.55 +; preproc denoiser [true / false] 1.56 +;pp_denoise => false 1.57 + 1.58 +; preproc dereverb [true / false] 1.59 +;pp_dereverb => false 1.60 +;pp_dereverb_decay => 0.4 1.61 +;pp_dereverb_level => 0.3 1.62 + 1.63 + 1.64 +;[plc] 1.65 +; for all codecs which do not support native PLC 1.66 +; this determines whether to perform generic PLC 1.67 +; there is a minor performance penalty for this 1.68 +;genericplc => true