mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
FS-5430 --resolve
This commit is contained in:
parent
a4f3629773
commit
97faaab42c
@ -31,6 +31,9 @@
|
|||||||
<!--audio sample rate and interval -->
|
<!--audio sample rate and interval -->
|
||||||
<param name="sample-rate" value="48000"/>
|
<param name="sample-rate" value="48000"/>
|
||||||
<param name="codec-ms" value="20"/>
|
<param name="codec-ms" value="20"/>
|
||||||
|
|
||||||
|
<!--uncomment the following line to make mod_portaudio fail to load if it fails to find a device-->
|
||||||
|
<!-- <param name="unload-on-device-fail" value="true"/> -->
|
||||||
</settings>
|
</settings>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<param name="codec-ms" value="20"/>
|
<param name="codec-ms" value="20"/>
|
||||||
|
|
||||||
<!--uncomment the following line to make mod_portaudio fail to load if it fails to find a device-->
|
<!--uncomment the following line to make mod_portaudio fail to load if it fails to find a device-->
|
||||||
<param name="unload-on-device-fail" value="true"/>
|
<!-- <param name="unload-on-device-fail" value="true"/> -->
|
||||||
</settings>
|
</settings>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -2453,10 +2453,6 @@ audio_stream_t *get_audio_stream(int indev, int outdev)
|
|||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error invalid output audio device\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error invalid output audio device\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (indev == -1) {
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error invalid input audio device\n");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
if (create_codecs(0) != SWITCH_STATUS_SUCCESS) {
|
if (create_codecs(0) != SWITCH_STATUS_SUCCESS) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user