Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/SoundSystem/fmod/SND_FmodDevice.cpp')
-rw-r--r--intern/SoundSystem/fmod/SND_FmodDevice.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/intern/SoundSystem/fmod/SND_FmodDevice.cpp b/intern/SoundSystem/fmod/SND_FmodDevice.cpp
index 6389971a1f6..06bcbc2f393 100644
--- a/intern/SoundSystem/fmod/SND_FmodDevice.cpp
+++ b/intern/SoundSystem/fmod/SND_FmodDevice.cpp
@@ -41,21 +41,15 @@
#include "SND_FmodDevice.h"
#include "SoundDefines.h"
-#include "SYS_System.h"
#include "SND_Utils.h"
SND_FmodDevice::SND_FmodDevice()
{
- // check if audio is wanted
- SYS_SystemHandle syshandle = SYS_GetSystem();
- int audio = SYS_GetCommandLineInt(syshandle,"noaudio",0);
-
+ /* Removed the functionality for checking if noaudio was provided on */
+ /* the commandline. */
m_dspunit = NULL;
- if (audio == 1)
- m_audio = false;
- else
- m_audio = true;
+ m_audio = true;
// let's check if we can get fmod to initialize...
if (m_audio)