[Bf-blender-cvs] [5fc49d9c915] master: Sound: add stubs to build without audaspace

Campbell Barton noreply at git.blender.org
Sun May 5 04:54:25 CEST 2019


Commit: 5fc49d9c91525543e41019550a53024a0652f018
Author: Campbell Barton
Date:   Sun May 5 12:28:16 2019 +1000
Branches: master
https://developer.blender.org/rB5fc49d9c91525543e41019550a53024a0652f018

Sound: add stubs to build without 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 d731c6e3eac..9ccb90b5cdc 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -1217,6 +1217,14 @@ char **BKE_sound_get_device_names(void)
   return names;
 }
 
+void BKE_sound_free_waveform(bSound *UNUSED(sound))
+{
+}
+
+void BKE_sound_load_audio(Main *UNUSED(bmain), bSound *UNUSED(sound))
+{
+}
+
 #endif /* WITH_AUDASPACE */
 
 void BKE_sound_update_and_seek(Main *bmain, Depsgraph *depsgraph)



More information about the Bf-blender-cvs mailing list