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
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user