Commit 615c3019 authored by Max Kellermann's avatar Max Kellermann

mixer/Volume: remove logging (mostly useless)

parent dc07180e
...@@ -21,10 +21,8 @@ ...@@ -21,10 +21,8 @@
#include "output/MultipleOutputs.hxx" #include "output/MultipleOutputs.hxx"
#include "Idle.hxx" #include "Idle.hxx"
#include "util/StringCompare.hxx" #include "util/StringCompare.hxx"
#include "util/Domain.hxx"
#include "system/PeriodClock.hxx" #include "system/PeriodClock.hxx"
#include "io/BufferedOutputStream.hxx" #include "io/BufferedOutputStream.hxx"
#include "Log.hxx"
#include <cassert> #include <cassert>
...@@ -32,8 +30,6 @@ ...@@ -32,8 +30,6 @@
#define SW_VOLUME_STATE "sw_volume: " #define SW_VOLUME_STATE "sw_volume: "
static constexpr Domain volume_domain("volume");
static unsigned volume_software_set = 100; static unsigned volume_software_set = 100;
/** the cached hardware mixer value; invalid if negative */ /** the cached hardware mixer value; invalid if negative */
...@@ -105,9 +101,7 @@ read_sw_volume_state(const char *line, MultipleOutputs &outputs) ...@@ -105,9 +101,7 @@ read_sw_volume_state(const char *line, MultipleOutputs &outputs)
sv = strtol(line, &end, 10); sv = strtol(line, &end, 10);
if (*end == 0 && sv >= 0 && sv <= 100) if (*end == 0 && sv >= 0 && sv <= 100)
software_volume_change(outputs, sv); software_volume_change(outputs, sv);
else
FmtWarning(volume_domain,
"Can't parse software volume: {}", line);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment