Add advss namespace

Fixes name conflict with "Duration" class and typedef of the same name
on MacOS
This commit is contained in:
WarmUpTill
2023-04-12 16:16:03 +02:00
committed by WarmUpTill
parent b7479e8342
commit 2c5caabab0
266 changed files with 1142 additions and 92 deletions

View File

@@ -4,6 +4,8 @@
#include "volume-control.hpp"
#include "utility.hpp"
namespace advss {
bool AudioSwitch::pause = false;
static QMetaObject::Connection addPulse;
@@ -611,3 +613,5 @@ void AudioSwitchFallbackWidget::DurationChanged(const Duration &dur)
std::lock_guard<std::mutex> lock(switcher->m);
switchData->duration = dur;
}
} // namespace advss