From 8c964a5c857e52aa4f1714a97edd6835073be63b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 26 Dec 2005 19:58:42 +0000 Subject: [PATCH] test git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@208 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_module_interfaces.h | 32 ++++++++++++++------------ 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h index 23043a7865..33cd8e0be2 100644 --- a/src/include/switch_module_interfaces.h +++ b/src/include/switch_module_interfaces.h @@ -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;