What's New
FLAC and OPUS Codec Support
Added support for compressed audio streaming using Android MediaCodec:
- FLAC (Lossless) - Full quality audio with ~50% bandwidth reduction
- OPUS (Compressed) - Efficient lossy compression for bandwidth-constrained networks
New Settings Option
- Added "Preferred Audio Codec" dropdown in Settings > Audio Sync
- Choose between PCM (Uncompressed), FLAC (Lossless), or OPUS (Compressed)
- Server will prioritize your preferred codec when available
Technical Details
- Decoder abstraction layer with automatic fallback to PCM on failure
- Supports codec_header for proper FLAC STREAMINFO and Opus OpusHead initialization
- Transparent decompression - SyncAudioPlayer continues to receive PCM data
Note
Codec availability depends on server support. If the server doesn't support your preferred codec, it will automatically select the next best option.