FreeSWITCH API Documentation
1.7.0
|
#include <switch.h>
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE 600 |
#define | fail() r = 255; goto end |
Functions | |
static int | teletone_handler (teletone_generation_session_t *ts, teletone_tone_map_t *map) |
int | main (int argc, char *argv[]) |
#define _XOPEN_SOURCE 600 |
Definition at line 37 of file tone2wav.c.
#define fail | ( | ) | r = 255; goto end |
Definition at line 70 of file tone2wav.c.
Referenced by main(), print_array(), print_object(), switch_core_perform_file_open(), and switch_ivr_activate_unicast().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 73 of file tone2wav.c.
References teletone_generation_session::channels, teletone_generation_session::debug, teletone_generation_session::debug_stream, teletone_generation_session::duration, fail, switch_directories::mod_dir, teletone_generation_session::rate, SCF_MINIMAL, switch_core_destroy(), switch_core_file_close(), switch_core_file_open, switch_core_init(), SWITCH_FALSE, SWITCH_FILE_DATA_SHORT, SWITCH_FILE_FLAG_WRITE, SWITCH_GLOBAL_dirs, switch_loadable_module_init(), switch_loadable_module_load_module(), SWITCH_STATUS_SUCCESS, SWITCH_TRUE, teletone_destroy_session(), teletone_handler(), teletone_init_session(), teletone_run(), and teletone_generation_session::wait.
|
static |
Definition at line 54 of file tone2wav.c.
References teletone_generation_session::buffer, switch_core_file_write(), SWITCH_STATUS_SUCCESS, teletone_mux_tones(), and teletone_generation_session::user_data.
Referenced by main().