feat: add album favorites in header and unify browse controls
Some checks failed
Build for Windows / build-windows (push) Has been cancelled
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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user