Commit c112cb60 authored by Max Kellermann's avatar Max Kellermann

output/snapcast: fix typo which caused "Failed to get chunk"

This bug caused a 9 second offset in all time stamps. Due to that, the Snapcast server thought the chunks are too old and discarded them. Fixes https://github.com/MusicPlayerDaemon/MPD/discussions/1287
parent 677fa4f9
ver 0.23.1 (not yet released)
* output
- snapcast: fix time stamp bug which caused "Failed to get chunk"
* fix libfmt linker problems
* fix broken password authentication
......
......@@ -45,7 +45,7 @@ struct SnapcastTimestamp {
if (a_usec < b_usec) {
--result_sec;
result_usec += 1'000'0000;
result_usec += 1'000'000;
}
return {result_sec, result_usec};
......
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