feat: add album favorites in header and unify browse controls
Some checks failed
Build for Windows / build-windows (push) Has been cancelled

Improve album workflow with in-header favorite toggle, keep favorite state synced from backend, and normalize browse top-bar sizing while increasing audio output buffer headroom to reduce glitches.
This commit is contained in:
joren
2026-03-31 01:49:53 +02:00
parent cdac82dbef
commit 1ad3ba4e69
7 changed files with 131 additions and 6 deletions

View File

@@ -10,7 +10,9 @@ use std::sync::{
};
use symphonia::core::audio::AudioBufferRef;
const RING_BUFFER_SIZE: usize = 32 * 1024;
// Bigger output buffer gives the decoder/network pipeline more headroom,
// reducing audible underruns on transient CPU/network stalls.
const RING_BUFFER_SIZE: usize = 256 * 1024;
pub struct AudioOutput {
_ring: SpscRb<f32>,