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:
Andrew Thompson 2009-01-20 19:50:54 +00:00
parent f71c5ae4c3
commit d773d1bb52
1 changed files with 5 additions and 0 deletions

View File

@ -739,7 +739,12 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_portaudio_load)
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;
#endif
if ((status = load_config()) != SWITCH_STATUS_SUCCESS) {
return status;