move L16 and g711 into the core

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7670 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-02-18 19:43:57 +00:00
parent bdeecad176
commit 983a0ba3df
14 changed files with 11 additions and 795 deletions
+2 -2
View File
@@ -321,7 +321,7 @@ static inline void switch_core_codec_add_implementation(switch_memory_pool_t *po
/*! the IANA code number */
switch_payload_t ianacode,
/*! the IANA code name */
char *iananame,
const char *iananame,
/*! default fmtp to send (can be overridden by the init function) */
char *fmtp,
/*! samples transferred per second */
@@ -357,7 +357,7 @@ static inline void switch_core_codec_add_implementation(switch_memory_pool_t *po
switch_codec_implementation_t *impl = (switch_codec_implementation_t *) switch_core_alloc(pool, sizeof(*impl));
impl->codec_type = codec_type;
impl->ianacode = ianacode;
impl->iananame = iananame;
impl->iananame = switch_core_strdup(pool, iananame);
impl->fmtp = fmtp;
impl->samples_per_second = samples_per_second;
impl->actual_samples_per_second = actual_samples_per_second;