Sample rate conversion for audio sockets#1370
Conversation
This makes the code a lot simpler and eliminate the need to even think about things like local and remote buffer sizes. Not having to wait for buffer size boundaries can also help minimize any latency introduced.
Improvements to vst logging so that it includes cout and cerr
42ca492 to
ad8e8fa
Compare
Updates to make clang happy
ad8e8fa to
fa14c71
Compare
|
@ntonnaett is there some magic required to allow flatpak to download files over the Internet? It seems to be failing here. Or perhaps there is a way to use a local package of libsamplerate? I disabled sample rate conversion in Flatpak for now. |
| found_libsamplerate = false | ||
| if get_option('libsamplerate').allowed() | ||
| opt_var = cmake.subproject_options() | ||
| if get_option('buildtype') == 'release' |
There was a problem hiding this comment.
This is not a good choice. Distributions use debugoptimized for releases because they generate packages for debug symbols. The wording is just stupid because they copied the naming from cmake.
I think what you want is to install the dependency first and then check for the dependency. If the dependency is not available, do the logic that is already there. |
|
It's not stable yet, but in the future the best way might be to use this for the wrap: https://mesonbuild.com/Wrap-dependency-system-manual.html#cmake-wraps |
Audio socket support for sample rate conversion
Interleave samples for audio sockets. This makes the code a lot simpler and eliminate the need to even think about things like local and remote buffer sizes. Not having to wait for buffer size boundaries can also help minimize any latency introduced.
Improvements to vst logging so that it includes cout and cerr