diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-01 16:57:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-03 16:50:40 +0300 |
commit | 6990ef151c199761da1eb1777ff384835bb7ba20 (patch) | |
tree | 2219af160a5f96ae1e4153a0365838efe78e0e91 /source/blender/blenkernel/BKE_sound.h | |
parent | d02da8de23b1d5f64695d3e7e91384d5e2f24e4c (diff) |
Sound: Move evaluation to dependency graph
The sound handles are still in the original datablocks, so it's easier
to test since there should be no functional changes.
Diffstat (limited to 'source/blender/blenkernel/BKE_sound.h')
-rw-r--r-- | source/blender/blenkernel/BKE_sound.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h index b35a0fd16f5..d95be9fde97 100644 --- a/source/blender/blenkernel/BKE_sound.h +++ b/source/blender/blenkernel/BKE_sound.h @@ -154,4 +154,10 @@ float BKE_sound_get_length(struct bSound *sound); char **BKE_sound_get_device_names(void); +/* Evaluation. */ + +struct Depsgraph; + +void BKE_sound_evaluate(struct Depsgraph *depsgraph, struct Main *bmain, struct bSound *sound); + #endif /* __BKE_SOUND_H__ */ |