fix: change default progress to 0

why it was ever -1.0 is a mystery to me, it doesn't make any logical
sense...
This commit is contained in:
Tal 2025-08-31 21:41:45 +02:00
parent 68dabaf581
commit 5102ae032c

View File

@ -151,7 +151,7 @@ impl Player {
tracks: RwLock::new(VecDeque::with_capacity(args.buffer_size)),
buffer_size: args.buffer_size,
current: ArcSwapOption::new(None),
progress: AtomicF32::new(-1.0),
progress: AtomicF32::new(0.0),
bookmarks,
client,
sink,