提交 18d03f15 authored 作者: Michael Jerris's avatar Michael Jerris

use 1/8 or 1/4 of the ram...

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6689 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1d0a0c97
......@@ -100,7 +100,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
while(RUNNING && (fname = switch_dir_next_file(source->dir_handle, file_buf, sizeof(file_buf)))) {
switch_size_t olen;
uint8_t *abuf[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0};
uint8_t abuf[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0};
snprintf(path_buf, sizeof(path_buf), "%s%s%s", source->location, SWITCH_PATH_SEPARATOR, fname);
if (switch_stristr(".loc", path_buf)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论