mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Don't depend on the parallel STL
We were not linking with TBB, and it's a bit of a waste to require it just for this one unused function.
This commit is contained in:
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
and this project adheres to [Semantic
|
and this project adheres to [Semantic
|
||||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed linking error in debug build related to the parallel STL.
|
||||||
|
|
||||||
## [2.0.1] - 2020-11-08
|
## [2.0.1] - 2020-11-08
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
#include "plugin-bridge.h"
|
#include "plugin-bridge.h"
|
||||||
|
|
||||||
#include <execution>
|
|
||||||
|
|
||||||
// Generated inside of the build directory
|
// Generated inside of the build directory
|
||||||
#include <src/common/config/config.h>
|
#include <src/common/config/config.h>
|
||||||
#include <src/common/config/version.h>
|
#include <src/common/config/version.h>
|
||||||
@@ -515,8 +513,10 @@ void PluginBridge::do_process(T** inputs, T** outputs, int sample_frames) {
|
|||||||
// going to call this anyways we won't even bother with a separate
|
// going to call this anyways we won't even bother with a separate
|
||||||
// implementation and we'll just add `processReplacing()` results to
|
// implementation and we'll just add `processReplacing()` results to
|
||||||
// `outputs`.
|
// `outputs`.
|
||||||
std::transform(std::execution::unseq,
|
// We could use `std::execution::unseq` here but that would require
|
||||||
response_buffers[channel].begin(),
|
// linking to TBB and since this probably won't ever be used anyways
|
||||||
|
// that's a bit of a waste.
|
||||||
|
std::transform(response_buffers[channel].begin(),
|
||||||
response_buffers[channel].end(), outputs[channel],
|
response_buffers[channel].end(), outputs[channel],
|
||||||
outputs[channel],
|
outputs[channel],
|
||||||
[](const T& new_value, T& current_value) -> T {
|
[](const T& new_value, T& current_value) -> T {
|
||||||
|
|||||||
Reference in New Issue
Block a user