diff options
Diffstat (limited to 'src/audio_core/renderer/command/sink')
-rw-r--r-- | src/audio_core/renderer/command/sink/circular_buffer.cpp | 4 | ||||
-rw-r--r-- | src/audio_core/renderer/command/sink/device.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/renderer/command/sink/circular_buffer.cpp b/src/audio_core/renderer/command/sink/circular_buffer.cpp index ded5afc94..1989873db 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 s32 min{std::numeric_limits<s16>::min()}; - constexpr s32 max{std::numeric_limits<s16>::max()}; + constexpr static s32 min{std::numeric_limits<s16>::min()}; + constexpr static s32 max{std::numeric_limits<s16>::max()}; std::vector<s16> output(processor.sample_count); for (u32 channel = 0; channel < input_count; channel++) { diff --git a/src/audio_core/renderer/command/sink/device.cpp b/src/audio_core/renderer/command/sink/device.cpp index e88372a75..2f2e82ae2 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 s32 min = std::numeric_limits<s16>::min(); - constexpr s32 max = std::numeric_limits<s16>::max(); + constexpr static s32 min = std::numeric_limits<s16>::min(); + constexpr static s32 max = std::numeric_limits<s16>::max(); auto stream{processor.GetOutputSinkStream()}; stream->SetSystemChannels(input_count); |