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/openal/SND_OpenALDevice.cpp')
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
index b391680a922..7798a36ca1e 100644
--- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp
+++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
@@ -41,7 +41,6 @@
#include "SND_OpenALDevice.h"
#include "SoundDefines.h"
-#include "SYS_System.h"
#include "SND_Utils.h"
@@ -204,15 +203,9 @@ ALvoid alutUnloadWAV(ALenum format,ALvoid *data,ALsizei size,ALsizei freq)
SND_OpenALDevice::SND_OpenALDevice()
{
- // check if audio is wanted
- SYS_SystemHandle syshandle = SYS_GetSystem();
- int audio = SYS_GetCommandLineInt(syshandle,"noaudio",0);
-
- if (audio != 0)
- m_audio = false;
- else
- m_audio = true;
-
+ /* Removed the functionality for checking if noaudio was provided on */
+ /* the commandline. */
+ m_audio = true;
m_context = NULL;
m_buffersinitialized = false;
m_sourcesinitialized = false;