git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@208 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2005-12-26 19:58:42 +00:00
parent c394ef828c
commit 8c964a5c85
1 changed files with 17 additions and 15 deletions

View File

@ -156,6 +156,23 @@ struct switch_dialplan_interface {
const struct switch_dialplan_interface *next;
};
struct switch_file_interface {
const char *interface_name;
const struct switch_file_interface *next;
const char *extens[];
};
struct switch_file_handle {
const struct switch_file_interface *file_interface;
switch_file_t *fd;
unsigned int sample_count;
switch_codec_flag flags;
switch_memory_pool *memory_pool;
void *private;
};
/* nobody has more setting than speex so we will let them set the standard */
struct switch_codec_settings {
int quality;
@ -176,21 +193,6 @@ struct switch_codec_settings {
float pp_dereverb_level;
};
struct switch_file_handle {
const struct switch_file_interface *file_interface;
const struct switch_file_implementation *implementation;
switch_file_t *fd;
unsigned int sample_count;
switch_codec_flag flags;
switch_memory_pool *memory_pool;
void *private;
};
struct switch_file_implementation {
const struct switch_file_implementation *next;
int codec_iananum;
};
struct switch_codec {
const struct switch_codec_interface *codec_interface;
const struct switch_codec_implementation *implementation;