RTS API Documentation
1.10.11
|
#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 CJSON_PUBLIC(), main(), msrp_init_ssl(), parse_array(), parse_object(), parse_string(), print(), replace_item_in_object(), switch_core_perform_file_open(), switch_ivr_activate_unicast(), switch_ivr_enterprise_orig_and_bridge(), switch_ivr_orig_and_bridge(), and utf16_literal_to_utf8().
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_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_safe_free, 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().