[Bf-blender-cvs] [0c57d85941e] blender2.8: Fix building w/o Audaspace

Campbell Barton noreply at git.blender.org
Fri Aug 18 10:12:59 CEST 2017


Commit: 0c57d85941ea80d5cabb0aed504e688d7cea6741
Author: Campbell Barton
Date:   Fri Aug 18 18:16:13 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB0c57d85941ea80d5cabb0aed504e688d7cea6741

Fix building w/o Audaspace

===================================================================

M	source/blender/blenkernel/intern/sound.c

===================================================================

diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index a617d5aa9ac..94fa81308fe 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -955,4 +955,6 @@ void BKE_sound_set_scene_sound_pan(void *UNUSED(handle), float UNUSED(pan), char
 void BKE_sound_set_scene_volume(struct Scene *UNUSED(scene), float UNUSED(volume)) {}
 void BKE_sound_set_scene_sound_pitch(void *UNUSED(handle), float UNUSED(pitch), char UNUSED(animated)) {}
 float BKE_sound_get_length(struct bSound *UNUSED(sound)) { return 0; }
+char **BKE_sound_get_device_names(void) { static char *names[1] = {NULL}; return names; }
+
 #endif  /* WITH_AUDASPACE */



More information about the Bf-blender-cvs mailing list