Merge remote-tracking branch 'upstream/v0.23.x'
This commit is contained in:
@@ -18,16 +18,16 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs)
|
||||
for (unsigned i = 0, n = outputs.Size(); i != n; ++i) {
|
||||
const auto &ao = outputs.Get(i);
|
||||
|
||||
r.Fmt(FMT_STRING("outputid: {}\n"
|
||||
"outputname: {}\n"
|
||||
"plugin: {}\n"
|
||||
"outputenabled: {}\n"),
|
||||
r.Fmt("outputid: {}\n"
|
||||
"outputname: {}\n"
|
||||
"plugin: {}\n"
|
||||
"outputenabled: {}\n",
|
||||
i,
|
||||
ao.GetName(), ao.GetPluginName(),
|
||||
(unsigned)ao.IsEnabled());
|
||||
|
||||
for (const auto &[attribute, value] : ao.GetAttributes())
|
||||
r.Fmt(FMT_STRING("attribute: {}={}\n"),
|
||||
r.Fmt("attribute: {}={}\n",
|
||||
attribute, value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -666,7 +666,7 @@ PipeWireOutput::ParamChanged([[maybe_unused]] uint32_t id,
|
||||
::SetVolume(*stream, channels, volume);
|
||||
} catch (...) {
|
||||
FmtError(pipewire_output_domain,
|
||||
FMT_STRING("Failed to restore volume: {}"),
|
||||
"Failed to restore volume: {}",
|
||||
std::current_exception());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user