mixer: fix build errors with -std=gnu++20

Fixes #4889
This commit is contained in:
Christian Prochaska 2023-05-16 11:17:37 +02:00 committed by Christian Helmuth
parent c4810c5db4
commit 7f170e492e

View File

@ -42,12 +42,10 @@
typedef Mixer::Channel Channel; typedef Mixer::Channel Channel;
enum { static constexpr int LEFT = Channel::Number::LEFT;
LEFT = Channel::Number::LEFT, static constexpr int RIGHT = Channel::Number::RIGHT;
RIGHT = Channel::Number::RIGHT, static constexpr int MAX_CHANNELS = Channel::Number::MAX_CHANNELS;
MAX_CHANNELS = Channel::Number::MAX_CHANNELS, static constexpr int MAX_VOLUME = Channel::Volume_level::MAX;
MAX_VOLUME = Channel::Volume_level::MAX,
};
static struct Names { static struct Names {