aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/command/sink/device.cpp
diff options
context:
space:
mode:
authorarades79 <scravers@protonmail.com>2023-02-14 11:13:47 -0500
committerarades79 <scravers@protonmail.com>2023-02-14 12:35:39 -0500
commit683019878fc939b418a65e1c5d84b066596d7655 (patch)
tree6b2a2e8ea34cb00a3fccf3613a52475550997035 /src/audio_core/renderer/command/sink/device.cpp
parent26e44a3be4d5d7299c5b38e5d521957fd856e134 (diff)
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
Diffstat (limited to 'src/audio_core/renderer/command/sink/device.cpp')
-rw-r--r--src/audio_core/renderer/command/sink/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/command/sink/device.cpp b/src/audio_core/renderer/command/sink/device.cpp
index 2f2e82ae2..e88372a75 100644
--- a/src/audio_core/renderer/command/sink/device.cpp
+++ b/src/audio_core/renderer/command/sink/device.cpp
@@ -20,8 +20,8 @@ void DeviceSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor&
}
void DeviceSinkCommand::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();
auto stream{processor.GetOutputSinkStream()};
stream->SetSystemChannels(input_count);