Address review comments
* Convert %x to {:x} * Convert {0:#010x} to {:#010x} * Remove `? true : false` statement * Remove `.c_str()` for strings
This commit is contained in:
parent
693b190274
commit
df816b5eaf
8 changed files with 17 additions and 17 deletions
|
@ -30,7 +30,7 @@ const SinkDetails& GetSinkDetails(std::string sink_id) {
|
|||
|
||||
if (sink_id == "auto" || iter == g_sink_details.end()) {
|
||||
if (sink_id != "auto") {
|
||||
NGLOG_ERROR(Audio, "AudioCore::SelectSink given invalid sink_id {}", sink_id.c_str());
|
||||
NGLOG_ERROR(Audio, "AudioCore::SelectSink given invalid sink_id {}", sink_id);
|
||||
}
|
||||
// Auto-select.
|
||||
// g_sink_details is ordered in terms of desirability, with the best choice at the front.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue