提交 2da5437e authored 作者: Michael Jerris's avatar Michael Jerris

fix build. arguments out of order.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4601 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ffde2ff0
...@@ -1782,8 +1782,8 @@ static void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *th ...@@ -1782,8 +1782,8 @@ static void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *th
if (switch_core_file_open(&fh, if (switch_core_file_open(&fh,
rec->path, rec->path,
(uint8_t)1,
conference->rate, conference->rate,
1,
SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT, SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT,
rec->pool) != SWITCH_STATUS_SUCCESS) { rec->pool) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening File [%s]\n", rec->path); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening File [%s]\n", rec->path);
...@@ -1960,8 +1960,8 @@ static switch_status_t conference_play_file(conference_obj_t *conference, char * ...@@ -1960,8 +1960,8 @@ static switch_status_t conference_play_file(conference_obj_t *conference, char *
/* Open the file */ /* Open the file */
if (switch_core_file_open(&fnode->fh, if (switch_core_file_open(&fnode->fh,
file, file,
(uint8_t)1,
conference->rate, conference->rate,
1,
SWITCH_FILE_FLAG_READ | SWITCH_FILE_DATA_SHORT, SWITCH_FILE_FLAG_READ | SWITCH_FILE_DATA_SHORT,
pool) != SWITCH_STATUS_SUCCESS) { pool) != SWITCH_STATUS_SUCCESS) {
switch_core_destroy_memory_pool(&pool); switch_core_destroy_memory_pool(&pool);
...@@ -2047,8 +2047,8 @@ static switch_status_t conference_member_play_file(conference_member_t *member, ...@@ -2047,8 +2047,8 @@ static switch_status_t conference_member_play_file(conference_member_t *member,
/* Open the file */ /* Open the file */
if (switch_core_file_open(&fnode->fh, if (switch_core_file_open(&fnode->fh,
file, file,
conference->rate, (uint8_t)1,
1, member->conference->rate,
SWITCH_FILE_FLAG_READ | SWITCH_FILE_DATA_SHORT, SWITCH_FILE_FLAG_READ | SWITCH_FILE_DATA_SHORT,
pool) != SWITCH_STATUS_SUCCESS) { pool) != SWITCH_STATUS_SUCCESS) {
switch_core_destroy_memory_pool(&pool); switch_core_destroy_memory_pool(&pool);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论