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:
authorJoerg Mueller <nexyon@gmail.com>2010-01-31 00:04:51 +0300
committerJoerg Mueller <nexyon@gmail.com>2010-01-31 00:04:51 +0300
commitd7d185ef4ab0070d955650454c865fdbfeab5aa6 (patch)
treea31946662908a0f44d39d7fb5a93de4e44c845fc /source/creator/creator.c
parent9d66bfb52461961fdbcbafb49a6562b4315d056e (diff)
Preparation to force an audio device via command line. Will be implemented by theeth.
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 9928ab0be6b..569425884ca 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -487,7 +487,7 @@ int main(int argc, char **argv)
else if (BLI_strcasecmp(argv[a], "-noglsl") == 0)
GPU_extensions_disable();
else if (BLI_strcasecmp(argv[a], "-noaudio") == 0)
- sound_disable();
+ sound_force_device(0);
break;
}
}
@@ -527,7 +527,7 @@ int main(int argc, char **argv)
case 'n':
case 'N':
if (BLI_strcasecmp(argv[a], "-noaudio") == 0)
- sound_disable();
+ sound_force_device(0);
break;
}
}