From 4bff06c76c223a156a14adc478ab1a9b083fd7b2 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 23 May 2023 09:12:26 +1000 Subject: Drop himem audio buffers (for now?) For some reason the spinlocks required now block forever? Very odd. On the plus side, this turned out to be the issue that was stopping the audio pipeline from running on the app core. --- src/audio/pipeline.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/audio/pipeline.cpp') diff --git a/src/audio/pipeline.cpp b/src/audio/pipeline.cpp index bab2f3ff..270622cf 100644 --- a/src/audio/pipeline.cpp +++ b/src/audio/pipeline.cpp @@ -23,18 +23,14 @@ auto Pipeline::NumInputs() const -> std::size_t { return subtrees_.size(); } -auto Pipeline::InStreams( - std::vector>* regions, - std::vector* out) -> void { +auto Pipeline::InStreams(std::vector* out) -> void { for (int i = 0; i < subtrees_.size(); i++) { - RawStream s = subtrees_[i]->OutStream(®ions->at(i)); - out->push_back(s); + out->push_back(subtrees_[i]->OutStream()); } } -auto Pipeline::OutStream(MappableRegion* region) - -> RawStream { - return {&output_info_, region->Map(output_buffer_)}; +auto Pipeline::OutStream() -> RawStream { + return {&output_info_, output_buffer_}; } auto Pipeline::GetIterationOrder() -> std::vector { -- cgit v1.2.3