This is all related to the detailed discussion I made 3 years ago, where I mostly quote a long post from 6 years ago: https://devtalk.blender.org/t/better-audio-integration/17810
I would love…
Could be possible, might introduce some audible issues though: The audio library distinguishes between animated and non-animated properties (i.e., constant value). If it's animated, you have to…
Thanks for the investigation @dr.sybren ! Unfortunately, I don't know what the ideal place would be to implement this. Maybe @Sergey or @iss ?
You're right, my mistake, sorry! I investigated a little bit. It's apparently an issue of the depsgraph, since all the functions that should be called to update the volume are basically never…
This is a bug in the UI, not sure where it comes from. This value should not be animatable, since PROP_ANIMATABLE
is cleared in rna_scene.cc
.
Sorry for taking some time to respond, I'm as busy as usual. The patch looks good and you're right, the code probably doesn't get much better if you derive from ThreadedDevice
. I've made minor…
Sorry, hit the wrong button before finishing. What do you think @ideasman42 ?
Well, if it's not used much, why not fix it with one of the other 2 options? Probably 2 is the cleanest?
@ideasman42 how would you like to solve this issue? I see three options:
- keep as is to not break anything depending on it
- change the behavior to work correctly (i.e. negate `rna_Scene_use…
Overall changes look good now! I've added some comments inline of what I'd like to see changed still and additionally:
Please don't mix std::chrono
code with ctime
code, just use std::chrono
everywhere!
I dislike the hardcoding of this value, especially since it reappears just a few lines below again. Maybe you could turn this into a proper variable and even base it on some other value that makes sense (see e.g. sleep_duration
in WASAPIDevice.cpp:95
).
Not sure what you mean? Do you mean running clang-format as auto-formatter? Clang format can also be run on just the changes in a diff which would be ideal here. So, can you apply the cleanup…