Skip to content

Commit cb1eb72

Browse files
committed
Fixed STUPID issue with time alignment
1 parent eb0cd77 commit cb1eb72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/xyz/gianlu/librespot/core/TimeProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private TimeProvider() {
1616

1717
public static void init(int delta) {
1818
synchronized (offset) {
19-
offset.set(System.currentTimeMillis() + delta * 1000);
19+
offset.set(delta * 1000);
2020
LOGGER.debug(String.format("Corrected time offset, delta: %ds", delta));
2121
}
2222
}

0 commit comments

Comments
 (0)