decoder/mad, ...: more libfmt logging

This commit is contained in:
Max Kellermann
2021-06-25 17:26:41 +02:00
parent f60a42e0b6
commit b29a43b4d7
42 changed files with 245 additions and 251 deletions

View File

@@ -71,8 +71,8 @@ playlist::QueueSongOrder(PlayerControl &pc, unsigned order) noexcept
const DetachedSong &song = queue.GetOrder(order);
FormatDebug(playlist_domain, "queue song %i:\"%s\"",
queued, song.GetURI());
FmtDebug(playlist_domain, "queue song {}:\"{}\"",
queued, song.GetURI());
pc.LockEnqueueSong(std::make_unique<DetachedSong>(song));
}
@@ -178,7 +178,7 @@ playlist::PlayOrder(PlayerControl &pc, unsigned order)
const DetachedSong &song = queue.GetOrder(order);
FormatDebug(playlist_domain, "play %u:\"%s\"", order, song.GetURI());
FmtDebug(playlist_domain, "play {}:\"{}\"", order, song.GetURI());
current = order;

View File

@@ -36,7 +36,7 @@ playlist::Stop(PlayerControl &pc) noexcept
assert(current >= 0);
FormatDebug(playlist_domain, "stop");
LogDebug(playlist_domain, "stop");
pc.LockStop();
queued = -1;
playing = false;