Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/sound.c
| Show First 20 Lines • Show All 818 Lines • ▼ Show 20 Lines | |||||
| void BKE_sound_set_scene_sound_pan(void *handle, float pan, char animated) | void BKE_sound_set_scene_sound_pan(void *handle, float pan, char animated) | ||||
| { | { | ||||
| AUD_SequenceEntry_setAnimationData(handle, AUD_AP_PANNING, sound_cfra, &pan, animated); | AUD_SequenceEntry_setAnimationData(handle, AUD_AP_PANNING, sound_cfra, &pan, animated); | ||||
| } | } | ||||
| void BKE_sound_update_sequencer(Main *main, bSound *sound) | void BKE_sound_update_sequencer(Main *main, bSound *sound) | ||||
| { | { | ||||
| BLI_assert(!"is not supposed to be used, is weird function."); | BLI_assert_msg(0, "is not supposed to be used, is weird function."); | ||||
| Scene *scene; | Scene *scene; | ||||
| for (scene = main->scenes.first; scene; scene = scene->id.next) { | for (scene = main->scenes.first; scene; scene = scene->id.next) { | ||||
| SEQ_sound_update(scene, sound); | SEQ_sound_update(scene, sound); | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 639 Lines • Show Last 20 Lines | |||||