From 621116a289d6066889eefd02693b60117795429d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 18 Sep 2015 10:53:46 +0300 Subject: [PATCH] Disabled loading of SDL output plugin for FMOD Ex on OS X Long path to executable file corrupts stack inside FMOD library This plugin is not being built for OS X, output through CoreAudio works just fine --- src/sound/fmodsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/fmodsound.cpp b/src/sound/fmodsound.cpp index 8433b301b..33ca0495d 100644 --- a/src/sound/fmodsound.cpp +++ b/src/sound/fmodsound.cpp @@ -771,7 +771,7 @@ bool FMODSoundRenderer::Init() } #endif -#ifndef _WIN32 +#if !defined _WIN32 && !defined __APPLE__ // Try to load SDL output plugin result = Sys->setPluginPath(progdir); // Should we really look for it in the program directory? result = Sys->loadPlugin("liboutput_sdl.so", &OutputPlugin);