summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/command/sink/circular_buffer.cpp
diff options
context:
space:
mode:
authorarades79 <scravers@protonmail.com>2023-02-14 17:13:47 +0100
committerarades79 <scravers@protonmail.com>2023-02-14 18:35:39 +0100
commit683019878fc939b418a65e1c5d84b066596d7655 (patch)
tree6b2a2e8ea34cb00a3fccf3613a52475550997035 /src/audio_core/renderer/command/sink/circular_buffer.cpp
parentapply clang-format (diff)
downloadyuzu-683019878fc939b418a65e1c5d84b066596d7655.tar
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.gz
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.bz2
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.lz
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.xz
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.zst
yuzu-683019878fc939b418a65e1c5d84b066596d7655.zip
Diffstat (limited to 'src/audio_core/renderer/command/sink/circular_buffer.cpp')
-rw-r--r--src/audio_core/renderer/command/sink/circular_buffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/command/sink/circular_buffer.cpp b/src/audio_core/renderer/command/sink/circular_buffer.cpp
index 1989873db..ded5afc94 100644
--- a/src/audio_core/renderer/command/sink/circular_buffer.cpp
+++ b/src/audio_core/renderer/command/sink/circular_buffer.cpp
@@ -21,8 +21,8 @@ void CircularBufferSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListPro
}
void CircularBufferSinkCommand::Process(const ADSP::CommandListProcessor& processor) {
- constexpr static s32 min{std::numeric_limits<s16>::min()};
- constexpr static s32 max{std::numeric_limits<s16>::max()};
+ constexpr s32 min{std::numeric_limits<s16>::min()};
+ constexpr s32 max{std::numeric_limits<s16>::max()};
std::vector<s16> output(processor.sample_count);
for (u32 channel = 0; channel < input_count; channel++) {