Fix compiling after sound changes
authorJens Verwiebe <info@jensverwiebe.de>
Thu, 26 Mar 2015 12:19:33 +0000 (13:19 +0100)
committerJens Verwiebe <info@jensverwiebe.de>
Thu, 26 Mar 2015 12:19:33 +0000 (13:19 +0100)
source/blender/blenkernel/intern/sound.c
source/blender/makesrna/intern/rna_userdef.c

index 4d14b2f22de5c2c0794cf59539ffad7a8502cab0..6a831d23aea6951f3da33f1d86e4e59f0adc0727 100644 (file)
@@ -141,9 +141,9 @@ static void sound_sync_callback(void *data, int mode, float time)
        while (scene) {
                if (scene->audio.flag & AUDIO_SYNC) {
                        if (mode)
-                               sound_play_scene(scene);
+                               BKE_sound_play_scene(scene);
                        else
-                               sound_stop_scene(scene);
+                               BKE_sound_stop_scene(scene);
                        if (scene->sound_scene_handle)
                                AUD_seek(scene->sound_scene_handle, time);
                }
index beb5ae739b39642db427ab73240ccab1e4a1d9a5..15a4ef5eaf60dd36d4683ffeaf46b77b63d6688c 100644 (file)
@@ -548,7 +548,7 @@ static EnumPropertyItem *rna_userdef_audio_device_itemf(bContext *UNUSED(C), Poi
 #endif
 
 #ifdef WITH_JACK
-       if (sound_is_jack_supported()) {
+       if (BKE_sound_is_jack_supported()) {
                RNA_enum_item_add(&item, &totitem, &audio_device_items[index]);
        }
        index++;