Skip to main content
Rockbox can feed Snapcast two ways. Both write raw S16LE stereo PCM at 44 100 Hz to snapserver; pick the transport that fits your setup. Use TCP for auto-discovery, multiple snapservers, or no filesystem dependency. Use FIFO for stdout piping or the traditional pipe model.
Snapserver:
Auto-discovery: rockboxd scans _snapcast._tcp.local. at startup; discovered servers appear in the web UI device picker. Click to connect — no config file editing required.
Startup order: start snapserver first so it is already listening when rockboxd begins playback. If the connection drops (e.g. snapserver restarts), it is re-established automatically on the next play call.

FIFO / pipe

Snapserver:
Startup order matters: start rockboxd before snapserver. Rockbox holds a permanent write reference on the FIFO so snapserver never sees a premature EOF between tracks. If snapserver opens the FIFO first it may get EOF and stop reading.

stdout mode

fifo_path = "-" writes raw PCM to stdout — useful for piping into any consumer:

macOS quirk

Snapserver v0.35.0 on macOS ignores the -s sample-format CLI flag. Use the config file at /usr/local/etc/snapserver.conf instead:

Verifying it works

You should see Stream: 'default' connected in the snapserver logs within a second of starting playback. From a snapclient host: