mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -290,7 +290,7 @@ static switch_status_t switch_amr_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t amr_implementation = {
|
||||
static switch_codec_implementation_t amr_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 96,
|
||||
/*.iananame */ "AMR",
|
||||
@@ -310,7 +310,7 @@ static const switch_codec_implementation_t amr_implementation = {
|
||||
/*.destroy */ switch_amr_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t amr_codec_interface = {
|
||||
static switch_codec_interface_t amr_codec_interface = {
|
||||
/*.interface_name */ "GSM-AMR",
|
||||
/*.implementations */ &amr_implementation,
|
||||
};
|
||||
|
@@ -182,7 +182,7 @@ static switch_status_t switch_g711a_destroy(switch_codec_t *codec)
|
||||
/* Registration */
|
||||
|
||||
|
||||
static const switch_codec_implementation_t g711u_8k_120ms_implementation = {
|
||||
static switch_codec_implementation_t g711u_8k_120ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 0,
|
||||
/*.iananame */ "PCMU",
|
||||
@@ -202,7 +202,7 @@ static const switch_codec_implementation_t g711u_8k_120ms_implementation = {
|
||||
/*.destroy */ switch_g711u_destroy
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711u_8k_60ms_implementation = {
|
||||
static switch_codec_implementation_t g711u_8k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 0,
|
||||
/*.iananame */ "PCMU",
|
||||
@@ -223,7 +223,7 @@ static const switch_codec_implementation_t g711u_8k_60ms_implementation = {
|
||||
/*.next */ &g711u_8k_120ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711u_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t g711u_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 0,
|
||||
/*.iananame */ "PCMU",
|
||||
@@ -244,7 +244,7 @@ static const switch_codec_implementation_t g711u_8k_30ms_implementation = {
|
||||
/*.next */ &g711u_8k_60ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711u_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t g711u_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 0,
|
||||
/*.iananame */ "PCMU",
|
||||
@@ -265,7 +265,7 @@ static const switch_codec_implementation_t g711u_8k_20ms_implementation = {
|
||||
/*.next */ &g711u_8k_30ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711u_8k_10ms_implementation = {
|
||||
static switch_codec_implementation_t g711u_8k_10ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 0,
|
||||
/*.iananame */ "PCMU",
|
||||
@@ -288,7 +288,7 @@ static const switch_codec_implementation_t g711u_8k_10ms_implementation = {
|
||||
|
||||
|
||||
|
||||
static const switch_codec_implementation_t g711a_8k_120ms_implementation = {
|
||||
static switch_codec_implementation_t g711a_8k_120ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 8,
|
||||
/*.iananame */ "PCMA",
|
||||
@@ -308,7 +308,7 @@ static const switch_codec_implementation_t g711a_8k_120ms_implementation = {
|
||||
/*.destroy */ switch_g711a_destroy
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711a_8k_60ms_implementation = {
|
||||
static switch_codec_implementation_t g711a_8k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 8,
|
||||
/*.iananame */ "PCMA",
|
||||
@@ -329,7 +329,7 @@ static const switch_codec_implementation_t g711a_8k_60ms_implementation = {
|
||||
/*.next */ &g711a_8k_120ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711a_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t g711a_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 8,
|
||||
/*.iananame */ "PCMA",
|
||||
@@ -350,7 +350,7 @@ static const switch_codec_implementation_t g711a_8k_30ms_implementation = {
|
||||
/*.next */ &g711a_8k_60ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711a_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t g711a_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 8,
|
||||
/*.iananame */ "PCMA",
|
||||
@@ -371,7 +371,7 @@ static const switch_codec_implementation_t g711a_8k_20ms_implementation = {
|
||||
/*.next */ &g711a_8k_30ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g711a_8k_10ms_implementation = {
|
||||
static switch_codec_implementation_t g711a_8k_10ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 8,
|
||||
/*.iananame */ "PCMA",
|
||||
@@ -394,12 +394,12 @@ static const switch_codec_implementation_t g711a_8k_10ms_implementation = {
|
||||
|
||||
|
||||
|
||||
static const switch_codec_interface_t g711a_codec_interface = {
|
||||
static switch_codec_interface_t g711a_codec_interface = {
|
||||
/*.interface_name */ "g711 alaw",
|
||||
/*.implementations */ &g711a_8k_10ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t g711u_codec_interface = {
|
||||
static switch_codec_interface_t g711u_codec_interface = {
|
||||
/*.interface_name */ "g711 ulaw",
|
||||
/*.implementations */ &g711u_8k_10ms_implementation,
|
||||
/*.next */ &g711a_codec_interface
|
||||
|
@@ -118,7 +118,7 @@ static switch_status_t switch_g722_destroy(switch_codec_t *codec)
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t g722_8k_implementation = {
|
||||
static switch_codec_implementation_t g722_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 109,
|
||||
/*.iananame */ "G722_8",
|
||||
@@ -138,7 +138,7 @@ static const switch_codec_implementation_t g722_8k_implementation = {
|
||||
/*.destroy */ switch_g722_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g722_16k_implementation = {
|
||||
static switch_codec_implementation_t g722_16k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 9,
|
||||
/*.iananame */ "G722",
|
||||
@@ -159,7 +159,7 @@ static const switch_codec_implementation_t g722_16k_implementation = {
|
||||
/*.next */ &g722_8k_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t g722_codec_interface = {
|
||||
static switch_codec_interface_t g722_codec_interface = {
|
||||
/*.interface_name */ "g722",
|
||||
/*.implementations */ &g722_16k_implementation
|
||||
};
|
||||
|
@@ -169,7 +169,7 @@ static switch_status_t switch_g723_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t g723_1_implementation = {
|
||||
static switch_codec_implementation_t g723_1_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 4,
|
||||
/*.iananame */ "G723",
|
||||
@@ -189,7 +189,7 @@ static const switch_codec_implementation_t g723_1_implementation = {
|
||||
/*.destroy */ switch_g723_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t g723_1_codec_interface = {
|
||||
static switch_codec_interface_t g723_1_codec_interface = {
|
||||
/*.interface_name */ "g723.1 6.3k",
|
||||
/*.implementations */ &g723_1_implementation,
|
||||
};
|
||||
|
@@ -204,7 +204,7 @@ static switch_status_t switch_g726_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t g726_16k_implementation = {
|
||||
static switch_codec_implementation_t g726_16k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 127,
|
||||
/*.iananame */ "G726-16",
|
||||
@@ -225,7 +225,7 @@ static const switch_codec_implementation_t g726_16k_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t g726_24k_implementation = {
|
||||
static switch_codec_implementation_t g726_24k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 126,
|
||||
/*.iananame */ "G726-24",
|
||||
@@ -245,7 +245,7 @@ static const switch_codec_implementation_t g726_24k_implementation = {
|
||||
/*.destroy */ switch_g726_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g726_32k_implementation = {
|
||||
static switch_codec_implementation_t g726_32k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 2,
|
||||
/*.iananame */ "G726-32",
|
||||
@@ -265,7 +265,7 @@ static const switch_codec_implementation_t g726_32k_implementation = {
|
||||
/*.destroy */ switch_g726_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g726_40k_implementation = {
|
||||
static switch_codec_implementation_t g726_40k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 125,
|
||||
/*.iananame */ "G726-40",
|
||||
@@ -287,7 +287,7 @@ static const switch_codec_implementation_t g726_40k_implementation = {
|
||||
|
||||
|
||||
|
||||
static const switch_codec_implementation_t aal2_g726_16k_implementation = {
|
||||
static switch_codec_implementation_t aal2_g726_16k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 124,
|
||||
/*.iananame */ "AAL2-G726-16",
|
||||
@@ -308,7 +308,7 @@ static const switch_codec_implementation_t aal2_g726_16k_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t aal2_g726_24k_implementation = {
|
||||
static switch_codec_implementation_t aal2_g726_24k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 123,
|
||||
/*.iananame */ "AAL2-G726-24",
|
||||
@@ -328,7 +328,7 @@ static const switch_codec_implementation_t aal2_g726_24k_implementation = {
|
||||
/*.destroy */ switch_g726_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t aal2_g726_32k_implementation = {
|
||||
static switch_codec_implementation_t aal2_g726_32k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 2,
|
||||
/*.iananame */ "AAL2-G726-32",
|
||||
@@ -348,7 +348,7 @@ static const switch_codec_implementation_t aal2_g726_32k_implementation = {
|
||||
/*.destroy */ switch_g726_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t aal2_g726_40k_implementation = {
|
||||
static switch_codec_implementation_t aal2_g726_40k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 122,
|
||||
/*.iananame */ "AAL2-G726-40",
|
||||
|
@@ -212,7 +212,7 @@ static switch_status_t switch_g729_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t g729_40ms_8k_implementation = {
|
||||
static switch_codec_implementation_t g729_40ms_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 18,
|
||||
/*.iananame */ "G729",
|
||||
@@ -232,7 +232,7 @@ static const switch_codec_implementation_t g729_40ms_8k_implementation = {
|
||||
/*.destroy */ switch_g729_destroy,
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g729_30ms_8k_implementation = {
|
||||
static switch_codec_implementation_t g729_30ms_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 18,
|
||||
/*.iananame */ "G729",
|
||||
@@ -253,7 +253,7 @@ static const switch_codec_implementation_t g729_30ms_8k_implementation = {
|
||||
&g729_40ms_8k_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g729_10ms_8k_implementation = {
|
||||
static switch_codec_implementation_t g729_10ms_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 18,
|
||||
/*.iananame */ "G729",
|
||||
@@ -274,7 +274,7 @@ static const switch_codec_implementation_t g729_10ms_8k_implementation = {
|
||||
&g729_30ms_8k_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t g729_8k_implementation = {
|
||||
static switch_codec_implementation_t g729_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 18,
|
||||
/*.iananame */ "G729",
|
||||
@@ -295,7 +295,7 @@ static const switch_codec_implementation_t g729_8k_implementation = {
|
||||
&g729_10ms_8k_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t g729_codec_interface = {
|
||||
static switch_codec_interface_t g729_codec_interface = {
|
||||
/*.interface_name */ "g729",
|
||||
/*.implementations */ &g729_8k_implementation,
|
||||
/*.next */ NULL
|
||||
|
@@ -134,7 +134,7 @@ static switch_status_t switch_gsm_decode(switch_codec_t *codec, switch_codec_t *
|
||||
|
||||
|
||||
/* Registration */
|
||||
static const switch_codec_implementation_t gsm_8k_implementation = {
|
||||
static switch_codec_implementation_t gsm_8k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 3,
|
||||
/*.iananame */ "GSM",
|
||||
@@ -153,7 +153,7 @@ static const switch_codec_implementation_t gsm_8k_implementation = {
|
||||
/*.decode */ switch_gsm_decode,
|
||||
/*.destroy */ switch_gsm_destroy,
|
||||
};
|
||||
static const switch_codec_interface_t gsm_codec_interface = {
|
||||
static switch_codec_interface_t gsm_codec_interface = {
|
||||
/*.interface_name */ "gsm",
|
||||
/*.implementations */ &gsm_8k_implementation,
|
||||
};
|
||||
|
@@ -75,7 +75,7 @@ static switch_status_t switch_h26x_destroy(switch_codec_t *codec)
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static const switch_codec_implementation_t h264_90000_implementation = {
|
||||
static switch_codec_implementation_t h264_90000_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_VIDEO,
|
||||
/*.ianacode */ 99,
|
||||
/*.iananame */ "H264",
|
||||
@@ -96,7 +96,7 @@ static const switch_codec_implementation_t h264_90000_implementation = {
|
||||
/*.next = */
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t h263_90000_implementation = {
|
||||
static switch_codec_implementation_t h263_90000_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_VIDEO,
|
||||
/*.ianacode */ 34,
|
||||
/*.iananame */ "H263",
|
||||
@@ -117,7 +117,7 @@ static const switch_codec_implementation_t h263_90000_implementation = {
|
||||
/*.next = */&h264_90000_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t h26x_codec_interface = {
|
||||
static switch_codec_interface_t h26x_codec_interface = {
|
||||
/*.interface_name */ "h26x video (passthru)",
|
||||
/*.implementations */ &h263_90000_implementation
|
||||
};
|
||||
|
@@ -182,7 +182,7 @@ static switch_status_t switch_ilbc_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t ilbc_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t ilbc_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 97,
|
||||
/*.iananame */ "iLBC",
|
||||
@@ -202,7 +202,7 @@ static const switch_codec_implementation_t ilbc_8k_30ms_implementation = {
|
||||
/*.destroy */ switch_ilbc_destroy
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t ilbc_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t ilbc_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 97,
|
||||
/*.iananame */ "iLBC",
|
||||
@@ -225,7 +225,7 @@ static const switch_codec_implementation_t ilbc_8k_20ms_implementation = {
|
||||
|
||||
|
||||
|
||||
static const switch_codec_implementation_t ilbc_102_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t ilbc_102_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 102,
|
||||
/*.iananame */ "iLBC",
|
||||
@@ -245,7 +245,7 @@ static const switch_codec_implementation_t ilbc_102_8k_30ms_implementation = {
|
||||
/*.destroy */ switch_ilbc_destroy
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t ilbc_102_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t ilbc_102_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 102,
|
||||
/*.iananame */ "iLBC102",
|
||||
@@ -267,7 +267,7 @@ static const switch_codec_implementation_t ilbc_102_8k_20ms_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t ilbc_8k_20ms_nonext_implementation = {
|
||||
static switch_codec_implementation_t ilbc_8k_20ms_nonext_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 97,
|
||||
/*.iananame */ "iLBC20ms",
|
||||
@@ -288,18 +288,18 @@ static const switch_codec_implementation_t ilbc_8k_20ms_nonext_implementation =
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_interface_t ilbc_20ms_codec_interface = {
|
||||
static switch_codec_interface_t ilbc_20ms_codec_interface = {
|
||||
/*.interface_name */ "ilbc",
|
||||
/*.implementations */ &ilbc_8k_20ms_nonext_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t ilbc_102_codec_interface = {
|
||||
static switch_codec_interface_t ilbc_102_codec_interface = {
|
||||
/*.interface_name */ "ilbc",
|
||||
/*.implementations */ &ilbc_102_8k_20ms_implementation,
|
||||
/*.next */ &ilbc_20ms_codec_interface
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t ilbc_codec_interface = {
|
||||
static switch_codec_interface_t ilbc_codec_interface = {
|
||||
/*.interface_name */ "ilbc",
|
||||
/*.implementations */ &ilbc_8k_20ms_implementation,
|
||||
/*.next */ &ilbc_102_codec_interface
|
||||
|
@@ -86,7 +86,7 @@ static switch_status_t switch_raw_destroy(switch_codec_t *codec)
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static const switch_codec_implementation_t raw_32k_60ms_implementation = {
|
||||
static switch_codec_implementation_t raw_32k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 119,
|
||||
/*.iananame */ "L16",
|
||||
@@ -107,7 +107,7 @@ static const switch_codec_implementation_t raw_32k_60ms_implementation = {
|
||||
/*.next = */
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_32k_30ms_implementation = {
|
||||
static switch_codec_implementation_t raw_32k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 119,
|
||||
/*.iananame */ "L16",
|
||||
@@ -128,7 +128,7 @@ static const switch_codec_implementation_t raw_32k_30ms_implementation = {
|
||||
/*.next = */ &raw_32k_60ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_32k_20ms_implementation = {
|
||||
static switch_codec_implementation_t raw_32k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 119,
|
||||
/*.iananame */ "L16",
|
||||
@@ -149,7 +149,7 @@ static const switch_codec_implementation_t raw_32k_20ms_implementation = {
|
||||
/*.next = */ &raw_32k_30ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_32k_10ms_implementation = {
|
||||
static switch_codec_implementation_t raw_32k_10ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 119,
|
||||
/*.iananame */ "L16",
|
||||
@@ -170,7 +170,7 @@ static const switch_codec_implementation_t raw_32k_10ms_implementation = {
|
||||
/*.next = */ &raw_32k_20ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_22k_20ms_implementation = {
|
||||
static switch_codec_implementation_t raw_22k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 118,
|
||||
/*.iananame */ "L16",
|
||||
@@ -191,7 +191,7 @@ static const switch_codec_implementation_t raw_22k_20ms_implementation = {
|
||||
/*.next = */ &raw_32k_10ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_16k_120ms_implementation = {
|
||||
static switch_codec_implementation_t raw_16k_120ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 117,
|
||||
/*.iananame */ "L16",
|
||||
@@ -212,7 +212,7 @@ static const switch_codec_implementation_t raw_16k_120ms_implementation = {
|
||||
/*.next */ &raw_22k_20ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_16k_60ms_implementation = {
|
||||
static switch_codec_implementation_t raw_16k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 117,
|
||||
/*.iananame */ "L16",
|
||||
@@ -233,7 +233,7 @@ static const switch_codec_implementation_t raw_16k_60ms_implementation = {
|
||||
/*.next */ &raw_16k_120ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_16k_30ms_implementation = {
|
||||
static switch_codec_implementation_t raw_16k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 117,
|
||||
/*.iananame */ "L16",
|
||||
@@ -254,7 +254,7 @@ static const switch_codec_implementation_t raw_16k_30ms_implementation = {
|
||||
/*.next */ &raw_16k_60ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_16k_20ms_implementation = {
|
||||
static switch_codec_implementation_t raw_16k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 117,
|
||||
/*.iananame */ "L16",
|
||||
@@ -275,7 +275,7 @@ static const switch_codec_implementation_t raw_16k_20ms_implementation = {
|
||||
/*.next = */ &raw_16k_30ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_16k_10ms_implementation = {
|
||||
static switch_codec_implementation_t raw_16k_10ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 117,
|
||||
/*.iananame */ "L16",
|
||||
@@ -299,7 +299,7 @@ static const switch_codec_implementation_t raw_16k_10ms_implementation = {
|
||||
///////////////////////////////
|
||||
|
||||
|
||||
static const switch_codec_implementation_t raw_8k_120ms_implementation = {
|
||||
static switch_codec_implementation_t raw_8k_120ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 10,
|
||||
/*.iananame */ "L16",
|
||||
@@ -321,7 +321,7 @@ static const switch_codec_implementation_t raw_8k_120ms_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t raw_8k_60ms_implementation = {
|
||||
static switch_codec_implementation_t raw_8k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 10,
|
||||
/*.iananame */ "L16",
|
||||
@@ -342,7 +342,7 @@ static const switch_codec_implementation_t raw_8k_60ms_implementation = {
|
||||
/*.next */ &raw_8k_120ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t raw_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t raw_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 10,
|
||||
/*.iananame */ "L16",
|
||||
@@ -362,7 +362,7 @@ static const switch_codec_implementation_t raw_8k_30ms_implementation = {
|
||||
/*.destroy */ switch_raw_destroy,
|
||||
/*.next */ &raw_8k_60ms_implementation
|
||||
};
|
||||
static const switch_codec_implementation_t raw_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t raw_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 10,
|
||||
/*.iananame */ "L16",
|
||||
@@ -385,7 +385,7 @@ static const switch_codec_implementation_t raw_8k_20ms_implementation = {
|
||||
|
||||
|
||||
|
||||
static const switch_codec_implementation_t raw_8k_10ms_implementation = {
|
||||
static switch_codec_implementation_t raw_8k_10ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 10,
|
||||
/*.iananame */ "L16",
|
||||
@@ -407,7 +407,7 @@ static const switch_codec_implementation_t raw_8k_10ms_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_interface_t raw_codec_interface = {
|
||||
static switch_codec_interface_t raw_codec_interface = {
|
||||
/*.interface_name */ "raw signed linear (16 bit)",
|
||||
/*.implementations */ &raw_8k_10ms_implementation
|
||||
};
|
||||
|
@@ -156,7 +156,7 @@ static switch_status_t switch_lpc10_decode(switch_codec_t *codec,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static const switch_codec_implementation_t lpc10_implementation = {
|
||||
static switch_codec_implementation_t lpc10_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 7,
|
||||
/*.iananame */ "LPC",
|
||||
|
@@ -36,7 +36,7 @@
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load);
|
||||
SWITCH_MODULE_DEFINITION(mod_speex, mod_speex_load, NULL, NULL);
|
||||
|
||||
static const switch_codec_settings_t default_codec_settings = {
|
||||
static switch_codec_settings_t default_codec_settings = {
|
||||
/*.quality */ 5,
|
||||
/*.complexity */ 5,
|
||||
/*.enhancement */ 1,
|
||||
@@ -262,7 +262,7 @@ static switch_status_t switch_speex_destroy(switch_codec_t *codec)
|
||||
}
|
||||
|
||||
/* Registration */
|
||||
static const switch_codec_implementation_t speex_32k_implementation = {
|
||||
static switch_codec_implementation_t speex_32k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 102,
|
||||
/*.iananame */ "speex",
|
||||
@@ -282,7 +282,7 @@ static const switch_codec_implementation_t speex_32k_implementation = {
|
||||
/*.destroy */ switch_speex_destroy
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t speex_16k_implementation = {
|
||||
static switch_codec_implementation_t speex_16k_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 99,
|
||||
/*.iananame */ "speex",
|
||||
@@ -304,7 +304,7 @@ static const switch_codec_implementation_t speex_16k_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t speex_8k_60ms_implementation = {
|
||||
static switch_codec_implementation_t speex_8k_60ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 98,
|
||||
/*.iananame */ "speex",
|
||||
@@ -325,7 +325,7 @@ static const switch_codec_implementation_t speex_8k_60ms_implementation = {
|
||||
/*.next */ &speex_16k_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t speex_8k_40ms_implementation = {
|
||||
static switch_codec_implementation_t speex_8k_40ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 98,
|
||||
/*.iananame */ "speex",
|
||||
@@ -348,7 +348,7 @@ static const switch_codec_implementation_t speex_8k_40ms_implementation = {
|
||||
};
|
||||
|
||||
|
||||
static const switch_codec_implementation_t speex_8k_30ms_implementation = {
|
||||
static switch_codec_implementation_t speex_8k_30ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 98,
|
||||
/*.iananame */ "speex",
|
||||
@@ -369,7 +369,7 @@ static const switch_codec_implementation_t speex_8k_30ms_implementation = {
|
||||
/*.next */ &speex_8k_40ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_implementation_t speex_8k_20ms_implementation = {
|
||||
static switch_codec_implementation_t speex_8k_20ms_implementation = {
|
||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||
/*.ianacode */ 98,
|
||||
/*.iananame */ "speex",
|
||||
@@ -390,7 +390,7 @@ static const switch_codec_implementation_t speex_8k_20ms_implementation = {
|
||||
/*.next */ &speex_8k_30ms_implementation
|
||||
};
|
||||
|
||||
static const switch_codec_interface_t speex_codec_interface = {
|
||||
static switch_codec_interface_t speex_codec_interface = {
|
||||
/*.interface_name */ "speex",
|
||||
/*.implementations */ &speex_8k_20ms_implementation
|
||||
};
|
||||
|
Reference in New Issue
Block a user