The built-in sink uses SDL2 to play audio through your operating system’s default audio device. This is the default and needs no setup beyond installing Rockbox.Documentation Index
Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Selecting the output device
SDL plays through whichever device the OS reports as default. To change it, use your platform’s audio settings:- macOS — System Settings › Sound › Output
- Linux (PipeWire / PulseAudio) —
pavucontrolor your DE’s sound applet - Windows — Sound settings › Output
macOS-specific notes
SDL_InitSubSystem(SDL_INIT_AUDIO) is called explicitly on macOS. On other
platforms the SDL event thread initialises audio; Apple’s event thread
doesn’t, so Rockbox compensates. You shouldn’t have to do anything — but if
you ever see “no audio output” on macOS only, this is the code path to look at.
Format
Output is S16LE stereo at 44 100 Hz. Higher-resolution sources are dithered down by the rbcodec DSP pipeline before they reach SDL. To change the output sample rate, setplay_frequency in settings.toml (auto,
44100, 48000, 88200, 96000).
Switching to another sink
Editaudio_output in settings.toml and rockbox restart, or call: