提交 fa9efe04 authored 作者: Michael Jerris's avatar Michael Jerris

fix msvc build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6784 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ecffbdca
...@@ -130,7 +130,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh, ...@@ -130,7 +130,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh,
fh->native_rate, fh->native_rate,
orig_len * 10, orig_len * 10,
fh->samplerate, fh->samplerate,
orig_len * 10, (uint32_t)orig_len * 10,
fh->memory_pool) != SWITCH_STATUS_SUCCESS) { fh->memory_pool) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n");
return SWITCH_STATUS_GENERR; return SWITCH_STATUS_GENERR;
...@@ -180,7 +180,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_write(switch_file_handle_t *fh, ...@@ -180,7 +180,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_write(switch_file_handle_t *fh,
fh->native_rate, fh->native_rate,
orig_len * 10, orig_len * 10,
fh->samplerate, fh->samplerate,
orig_len * 10, (uint32_t)orig_len * 10,
fh->memory_pool) != SWITCH_STATUS_SUCCESS) { fh->memory_pool) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n");
return SWITCH_STATUS_GENERR; return SWITCH_STATUS_GENERR;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论