You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say the --audio-format pin missed the advertisement, not the device
A pin the advertised list does not carry was reported as a format the
output device does not take. The device often takes it: advertised_channels()
collapses the channels axis to a single count -- 2 where the device lists it,
its narrowest otherwise -- so a mono or multichannel pin misses
pin_preferred_format() on any device that also takes stereo, and the refusal
blamed the device for a narrowing this player did.
The advice compounded it. -l prints the device's own channel list, so an
operator who followed it was shown a set that confirmed their pin and told
the opposite.
Reword the refusal to assert only what was checked -- membership in the
advertisement -- and keep the -l pointer with the distinction spelled out.
The refusal itself is unchanged: refusing rather than playing something else
is what the flag is for. advertised_channels(), supported_formats(),
pin_preferred_format() and the preference ladders are untouched.
The same claim appears in --help, the packaged conf example, the README, the
Configuration wiki page, ROADMAP item 24, and the doc-comments that own the
flag in cli.h and supported_formats.h. Correct each.
Copy file name to clipboardExpand all lines: docs/wiki/Configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ already does that.
55
55
|`server`|`-s`, `--server`|`<host>[:<port>]`, a `ws://` URL, or `mdns:[<name>]`| none — wait to be discovered |
56
56
|`port`|`--port`| the port this player's own WebSocket server listens on |`8928`|
57
57
|`buffer-ms`|`--buffer-ms`| audio the output backend keeps queued, 10–2000 |`100`|
58
-
|`audio-format`|`--audio-format`| pin a preferred format to the front of the advertised list: `codec:rate:depth:channels`, e.g. `flac:48000:24:2`; refuses to start if the device cannot take it, and an `opus` pin at anything but 48000/16 and at most 2 channels is refused outright | none — device-derived order |
58
+
|`audio-format`|`--audio-format`| pin a preferred format to the front of the advertised list: `codec:rate:depth:channels`, e.g. `flac:48000:24:2`; refuses to start if the advertised list does not carry it — it carries a single channel count — and an `opus` pin at anything but 48000/16 and at most 2 channels is refused outright | none — device-derived order |
59
59
|`static-delay`|`--static-delay`| latency this endpoint's hardware adds after the audio port, 0–5000 |`0`|
60
60
|`no-mdns`|`--no-mdns`|`true`/`false` — do not advertise `_sendspin._tcp`|`false`|
61
61
|`mdns-name`|`--mdns-name`| the instance label to advertise, when it should differ from `name`|`name`|
0 commit comments