]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
move other more obscure L16 slices to dynamic payload
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 12 Apr 2011 14:30:15 +0000 (09:30 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 12 Apr 2011 14:30:15 +0000 (09:30 -0500)
src/switch_pcm.c

index f0dfe86da33d81cf65ddcbdf478f4f2d0be255bc..d7ae48a28e6f771242d4ab53426aefe54029905f 100644 (file)
@@ -420,7 +420,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
 
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         24000, /* samples transferred per second */
@@ -451,7 +451,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
 
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         48000, /* samples transferred per second */
@@ -481,7 +481,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
 
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         8000,  /* samples transferred per second */
@@ -510,7 +510,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
 
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         16000, /* samples transferred per second */
@@ -540,7 +540,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
 
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         32000, /* samples transferred per second */
@@ -569,7 +569,7 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
        /* 10ms is already registered */
        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 */
-                                                                                        10,    /* the IANA code number */
+                                                                                        70,    /* the IANA code number */
                                                                                         "L16", /* the IANA code name */
                                                                                         NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                         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 */
-                                                                                10,    /* the IANA code number */
+                                                                                70,    /* the IANA code number */
                                                                                 "L16", /* the IANA code name */
                                                                                 NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                 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_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 */
                                                                                 NULL,  /* default fmtp to send (can be overridden by the init function) */
                                                                                 11025, /* samples transferred per second */