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.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.
| TCP sink | FIFO sink | |
|---|---|---|
| Filesystem entry required | No | Yes (/tmp/snapfifo) |
| Snapserver source type | tcp:// | pipe:// |
| Startup order | Snapserver first | Rockbox first |
| Auto-reconnect | Yes (next play call) | n/a — FIFO stays open |
| Auto-discovery in UI | Yes (_snapcast._tcp.local.) | No — static virtual device |
| stdout pipe support | No | Yes (fifo_path = "-") |
TCP (recommended)
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
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
Stream: 'default' connected in the snapserver logs within
a second of starting playback. From a snapclient host: