mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-14 02:56:48 +00:00
Don't use the portaudio dual_streams stuff on Solaris, it makes it break
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11316 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f71c5ae4c3
commit
d773d1bb52
@ -739,7 +739,12 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_portaudio_load)
|
|||||||
|
|
||||||
memset(&globals, 0, sizeof(globals));
|
memset(&globals, 0, sizeof(globals));
|
||||||
|
|
||||||
|
/* dual streams makes portaudio on solaris choke */
|
||||||
|
#if defined(sun) || defined(__sun)
|
||||||
|
globals.dual_streams = 0;
|
||||||
|
#else
|
||||||
globals.dual_streams = 1;
|
globals.dual_streams = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
if ((status = load_config()) != SWITCH_STATUS_SUCCESS) {
|
if ((status = load_config()) != SWITCH_STATUS_SUCCESS) {
|
||||||
return status;
|
return status;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user