mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
move other more obscure L16 slices to dynamic payload
This commit is contained in:
parent
02b9a3d544
commit
6ea214c180
@ -420,7 +420,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
|
|
||||||
for (x = 0; x < 3; x++) {
|
for (x = 0; x < 3; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
24000, /* samples transferred per second */
|
24000, /* samples transferred per second */
|
||||||
@ -451,7 +451,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
|
|
||||||
for (x = 0; x < 5; x++) {
|
for (x = 0; x < 5; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
48000, /* samples transferred per second */
|
48000, /* samples transferred per second */
|
||||||
@ -481,7 +481,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
|
|
||||||
for (x = 0; x < 4; x++) {
|
for (x = 0; x < 4; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
8000, /* samples transferred per second */
|
8000, /* samples transferred per second */
|
||||||
@ -510,7 +510,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
|
|
||||||
for (x = 0; x < 4; x++) {
|
for (x = 0; x < 4; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
16000, /* samples transferred per second */
|
16000, /* samples transferred per second */
|
||||||
@ -540,7 +540,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
|
|
||||||
for (x = 0; x < 4; x++) {
|
for (x = 0; x < 4; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
32000, /* samples transferred per second */
|
32000, /* samples transferred per second */
|
||||||
@ -569,7 +569,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
/* 10ms is already registered */
|
/* 10ms is already registered */
|
||||||
for (x = 0; x < 3; x++) {
|
for (x = 0; x < 3; x++) {
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
48000, /* samples transferred per second */
|
48000, /* samples transferred per second */
|
||||||
@ -591,7 +591,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
22050, /* samples transferred per second */
|
22050, /* samples transferred per second */
|
||||||
@ -609,7 +609,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
|
|||||||
switch_raw_destroy); /* deinitalize a codec handle using this implementation */
|
switch_raw_destroy); /* deinitalize a codec handle using this implementation */
|
||||||
|
|
||||||
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
switch_core_codec_add_implementation(pool, codec_interface, SWITCH_CODEC_TYPE_AUDIO, /* enumeration defining the type of the codec */
|
||||||
10, /* the IANA code number */
|
70, /* the IANA code number */
|
||||||
"L16", /* the IANA code name */
|
"L16", /* the IANA code name */
|
||||||
NULL, /* default fmtp to send (can be overridden by the init function) */
|
NULL, /* default fmtp to send (can be overridden by the init function) */
|
||||||
11025, /* samples transferred per second */
|
11025, /* samples transferred per second */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user