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:
authorJörg Müller <nexyon@gmail.com>2015-07-24 16:44:17 +0300
committerJörg Müller <nexyon@gmail.com>2015-07-28 15:01:53 +0300
commit29ebb56f4d8b99ca3038c7a3d0ed794ef77ee7f9 (patch)
tree32f1dae9ea80dd3c1843f5cc00ecceea23da5dc4 /source/creator
parenta0cbebf404d6c46e59b090e7217ce39d7e760809 (diff)
Audaspace: support the device list returned by the new audaspace library.
- use the device names returned from the library. - system settings UI changed as new audaspace might contain longer and more device names.
Diffstat (limited to 'source/creator')
-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 37e767b2eb1..e1c777f8136 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -824,7 +824,7 @@ static int no_glsl(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(dat
static int no_audio(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
{
- BKE_sound_force_device(0);
+ BKE_sound_force_device("Null");
return 0;
}
@@ -835,7 +835,7 @@ static int set_audio(int argc, const char **argv, void *UNUSED(data))
exit(1);
}
- BKE_sound_force_device(BKE_sound_define_from_str(argv[1]));
+ BKE_sound_force_device(argv[1]);
return 1;
}