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

add mod_local_stream to windows build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5463 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5cebcc1f
差异被折叠。
...@@ -59,7 +59,7 @@ typedef struct local_stream_context local_stream_context_t; ...@@ -59,7 +59,7 @@ typedef struct local_stream_context local_stream_context_t;
struct local_stream_source { struct local_stream_source {
char *name; char *name;
char *location; char *location;
int channels; uint8_t channels;
int rate; int rate;
int interval; int interval;
int samples; int samples;
...@@ -312,7 +312,7 @@ static void launch_threads(void) ...@@ -312,7 +312,7 @@ static void launch_threads(void)
} else if (!strcasecmp(var, "channels")) { } else if (!strcasecmp(var, "channels")) {
int tmp = atoi(val); int tmp = atoi(val);
if (tmp == 1 || tmp == 2) { if (tmp == 1 || tmp == 2) {
source->channels = tmp; source->channels = (uint8_t)tmp;
} }
} else if (!strcasecmp(var, "interval")) { } else if (!strcasecmp(var, "interval")) {
source->interval = atoi(val); source->interval = atoi(val);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8.00" Version="8.00"
Name="mod_local_stream" Name="mod_local_stream"
ProjectGUID="{9254C4B0-6F60-42B6-BB3A-36D63FC001C7}" ProjectGUID="{2CA40887-1622-46A1-A7F9-17FD7E7E545B}"
RootNamespace="mod_local_stream" RootNamespace="mod_local_stream"
Keyword="Win32Proj" Keyword="Win32Proj"
> >
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论