Output Bridge: separate the computing machine from the output machine

One machine decodes and processes; the other only carries the result to the DAC. The two machines sit on the same switch, and the audio travels over UDP.

This is not multi-room playback and not screen casting: the segment after decoding and before the DAC moves onto the network — the bytes are exactly what would have been written to the sound card.

The output machine: room name, receiving state, and who is connected — ports and backends live under Advanced

Why split the two machines

ProblemSingle machineOutput bridge
Computer noise (fans, disks, switching supplies)In the same room as the DACThe computing machine can live elsewhere
Long USB runsCable and ground-loop issuesRuns over the LAN; optical or switch isolation both work
One box both computes and playsCPU jitter is kept out of the exclusive stream, but both share one power supplyThe output machine only receives, buffers, and writes the device

How it works

  1. The output machine runs DpdoBridge.exe (Windows / Linux), picks the device to drive directly, and presses "Start receiving". It announces itself on the LAN under a room name such as "Living room DAC".
  2. The computing machine picks "Output bridge (UDP → output machine)…" as its output device; the machine appears in a list, one click away. A manual 192.168.1.20:7400 entry also works.
  3. The player decodes and applies EQ / denoise / room correction as usual, then sends the final PCM bytes at the sound card's pace. The output machine puts them into a 60 ms jitter buffer and writes its own device.

The output machine does not decode and does not run DSP: there is no second signal chain that could quietly change the sound.

Clock and buffering

Two machines never share a crystal; 20–50 ppm apart is normal (tens of milliseconds per hour). The bridge handles it like this:

  • the source paces its sends to its declared rate instead of flooding the socket;
  • the receiver measures buffer fill and nudges a variable-ratio resampler (±50 ppm, 1 ms deadband) to hold the target level;
  • fill, corrections and underruns are logged and counted honestly.

Device capabilities and fallback

The receiving device may not accept the source format. The bridge actually tries, then reports the outcome back to the player:

[bridge] 输出机: ok dev=48000Hz/16bit,src=22050Hz,bits=24->16,sw=1,direct=1
	
  • Sample rate: source rate → 48k / 44.1k / 96k / 88.2k / 32k / 22.05k / 16k / 8k;
  • Bit depth: 24 → 16, or locked to 16 / 24 / 32 — a locked depth is never silently changed;
  • Backend: WASAPI exclusive → WASAPI shared → platform default; when ASIO cannot open, the log says plainly that the path is not ASIO.

Bluetooth endpoints can only use shared mode. That is a Windows limitation, not a choice of the bridge, and the UI says so.

Disconnects and restarts

  • After the output machine restarts, a cable is pulled, or a switch is swapped, the source re-establishes the session by itself (retry every second, backing off to five seconds after ten attempts). No player restart needed.
  • The output machine can start with the system and begin receiving automatically; closing the window only hides it to the tray.

Known limits

  • Trusted LAN only: no authentication and no encryption on the link — never expose UDP 7400/7401 to the internet;
  • Both machines must share a subnet, or at least reach each other by broadcast;
  • DSD passthrough on the output machine is not implemented yet (native / DoP still needs the computing machine connected directly);
  • Phones as output machines are not implemented yet.

Requirements

  • Windows 10/11, or a common Linux distribution;
  • UDP 7400 (audio) and 7401 (discovery) allowed on both sides;
  • DpdoBridge.exe on the output machine; DpdoPlayer (GUI) or the command-line engine on the computing machine.