Fix compiling after sound changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user