morrolinux
morrolinux
I would advice against caching the audio by default. Even if it was faster, it would probably never be fast enough to keep up with the user, and performance doesn't...
I tried disabling "automatic caching" in the sequence settings but the audio still lags behind. Does that setting only disable **video** caching?
Thanks for the follow-up. I've briefly tested on a ~25 minutes track and it looks like it's much faster. Unfortunately some other recent changes in the code have made all...
Sure [pinebook.zip](https://github.com/olive-editor/olive/files/7250615/pinebook.zip)
Indeed it works. So I tried the same stuff and it looks like the audio caching can't keep up with the video caching and the audio cuts off during playback-while-caching....
> I should mention, this _is_ realtime audio. That's the performance gain you're experiencing. The audio cache in the latest commit is disabled by default. Oh, that's odd. With real-time...
> Yes, during playback it renders ahead 2 seconds. It does so, in fact, to try to prevent the cutting out you mentioned earlier (though [93bdf40](https://github.com/olive-editor/olive/commit/93bdf409b9d168384f5d95420bcbf483cf545036) might have fixed a...
Here is the `perf` data (and [flamegraph](https://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html)) [perf.zip](https://github.com/olive-editor/olive/files/7254576/perf.zip) I was basically just selecting clips for most of the time, I hope it contains some useful insight. BTW I've tested the...
> I've written more optimizations into [5f85989](https://github.com/olive-editor/olive/commit/5f859895a86843213a69e5c6cb5363d63fe269c5) that should help with the UI lag. Yes, I can select multiple clips with ease now :) > I seem to remember planning...
> Latest commit implements a more robust audio backend (had been planning to rewrite that for some time), let me know if that fixes the audio dropouts. It's getting better...