Skip to main content
2026-01-28ArchitectureDev

Jan Retrospective: Laying All-Format Foundation

Completed full-path optimization from DSD decoding to high-sample-rate PCM processing, ensuring playback stability.

Jan Retrospective: Laying All-Format Foundation

🛠 Architecture Evolution: Minimalist & Fast

In January, we focused on unifying the underlying audio engine. To handle massive lossless libraries, we performed a complete refactoring of the Audio Pipeline.

⚙️ Unified Audio Pipeline

Different formats used to follow different paths, making bit-perfect playback difficult to maintain.

  • Single Pipeline: All formats are now abstracted as PureAudioBuffer after decoding.
  • Seamless Switch: Resolved popping sounds during sample rate changes between tracks.

🚀 Zero-Copy Memory Pool

Memory copying is a performance killer for DSD512 or 384kHz PCM.

  • Memory Reuse: Using pre-allocated circular buffers, we reduced IO-to-output copies to 0.
  • CPU Load: CPU usage dropped from 15% to around 3.5% on macOS during high-load playback.

🌐 All-Format Blueprint

  • Native DSD: Perfected DSF/DFF metadata reading and DoP output logic.

  • Output Adaptation: Supported Exclusive Mode for external USB DACs.

  • [x] Core audio engine refactoring completed.

  • [x] Zero-copy buffer mechanism online.

  • [ ] Pre-fetch buffer optimization for WebDAV streaming.