move iana codes to the implementations.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1666 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-06-23 20:14:29 +00:00
parent ce2a9d2636
commit 3ba26db705
13 changed files with 167 additions and 88 deletions
+4 -4
View File
@@ -444,6 +444,10 @@ struct switch_codec {
/*! \brief A table of settings and callbacks that define a paticular implementation of a codec */
struct switch_codec_implementation {
/*! the IANA code number */
switch_payload_t ianacode;
/*! the IANA code name */
char *iananame;
/*! samples transferred per second */
uint32_t samples_per_second;
/*! bits transferred per second */
@@ -495,10 +499,6 @@ struct switch_codec_interface {
const char *interface_name;
/*! enumeration defining the type of the codec */
const switch_codec_type_t codec_type;
/*! the IANA code number */
switch_payload_t ianacode;
/*! the IANA code name */
char *iananame;
/*! a list of codec implementations related to the codec */
const switch_codec_implementation_t *implementations;
const struct switch_codec_interface *next;