mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add mod_local_stream to windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5463 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -59,7 +59,7 @@ typedef struct local_stream_context local_stream_context_t;
|
||||
struct local_stream_source {
|
||||
char *name;
|
||||
char *location;
|
||||
int channels;
|
||||
uint8_t channels;
|
||||
int rate;
|
||||
int interval;
|
||||
int samples;
|
||||
@@ -312,7 +312,7 @@ static void launch_threads(void)
|
||||
} else if (!strcasecmp(var, "channels")) {
|
||||
int tmp = atoi(val);
|
||||
if (tmp == 1 || tmp == 2) {
|
||||
source->channels = tmp;
|
||||
source->channels = (uint8_t)tmp;
|
||||
}
|
||||
} else if (!strcasecmp(var, "interval")) {
|
||||
source->interval = atoi(val);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="mod_local_stream"
|
||||
ProjectGUID="{9254C4B0-6F60-42B6-BB3A-36D63FC001C7}"
|
||||
ProjectGUID="{2CA40887-1622-46A1-A7F9-17FD7E7E545B}"
|
||||
RootNamespace="mod_local_stream"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user