summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/command/effect/biquad_filter.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-06 15:13:06 +0200
committerGitHub <noreply@github.com>2023-09-06 15:13:06 +0200
commit69949e7964effcdfc5f101cadaf95d7c430ae677 (patch)
tree30961426a1e754309e1bf8760df1fea4e51bdef8 /src/audio_core/renderer/command/effect/biquad_filter.cpp
parentMerge pull request #11434 from danilaml/fix-warnings (diff)
parentRework ADSP into a wrapper for apps (diff)
downloadyuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.gz
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.bz2
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.lz
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.xz
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.zst
yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/renderer/command/effect/biquad_filter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/audio_core/renderer/command/effect/biquad_filter.cpp b/src/audio_core/renderer/command/effect/biquad_filter.cpp
index dea6423dc..3392e7747 100644
--- a/src/audio_core/renderer/command/effect/biquad_filter.cpp
+++ b/src/audio_core/renderer/command/effect/biquad_filter.cpp
@@ -1,12 +1,12 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/biquad_filter.h"
#include "audio_core/renderer/voice/voice_state.h"
#include "common/bit_cast.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Biquad filter float implementation.
*
@@ -76,14 +76,14 @@ static void ApplyBiquadFilterInt(std::span<s32> output, std::span<const s32> inp
}
}
-void BiquadFilterCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void BiquadFilterCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format(
"BiquadFilterCommand\n\tinput {:02X} output {:02X} needs_init {} use_float_processing {}\n",
input, output, needs_init, use_float_processing);
}
-void BiquadFilterCommand::Process(const ADSP::CommandListProcessor& processor) {
+void BiquadFilterCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto state_{reinterpret_cast<VoiceState::BiquadFilterState*>(state)};
if (needs_init) {
*state_ = {};
@@ -103,8 +103,8 @@ void BiquadFilterCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool BiquadFilterCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool BiquadFilterCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer