--- linuxsampler/trunk/src/drivers/Plugin.cpp 2009/08/28 07:48:47 1992 +++ linuxsampler/trunk/src/drivers/Plugin.cpp 2009/08/30 13:30:01 1994 @@ -48,10 +48,15 @@ pSampler = new Sampler; + #if defined(__APPLE__) + // AU plugin sometimes hangs if bound to loopback + pLSCPServer = new LSCPServer(pSampler, htonl(INADDR_ANY), htons(LSCP_PORT)); + #else // using LOOPBACK instead of ANY to prevent windows firewall // warnings - pLSCPServer = new LSCPServer(pSampler, htonl(INADDR_LOOPBACK), - htons(LSCP_PORT)); + pLSCPServer = new LSCPServer(pSampler, htonl(INADDR_LOOPBACK), htons(LSCP_PORT)); + #endif + pLSCPServer->StartThread(); pLSCPServer->WaitUntilInitialized();