mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 13:44:16 +00:00
mod_portaudio: use default global configuration when configuring streams
add tons of comments to default portaudio.conf.xml for streams and endpoints
This commit is contained in:
1 parent
10ff1f4386
commit
07d574a662
2 files changed
+136
-14
No files matched your search
@@ -1415,6 +1415,8 @@ static switch_status_t load_streams(switch_xml_t streams)
|
||||
stream->indev = -1;
|
||||
stream->outdev = -1;
|
||||
stream->sample_rate = globals.sample_rate;
|
||||
stream->codec_ms = globals.codec_ms;
|
||||
stream->channels = 1;
|
||||
switch_snprintf(stream->name, sizeof(stream->name), "%s", stream_name);
|
||||
for (param = switch_xml_child(mystream, "param"); param; param = param->next) {
|
||||
char *var = (char *) switch_xml_attr_soft(param, "name");
|
||||
|
||||
Reference in new issue
Block a user