Fix compiling after sound changes

This commit is contained in:
Jens Verwiebe
2015-03-26 13:19:33 +01:00
parent 59132e6481
commit f80064f2d2
2 changed files with 3 additions and 3 deletions

View 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);
}

View 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++;