|
YAACC - UPNP Client and Server
|
The settings of a stream that a source gives the playback engine: how long the source buffers, the latency setting of this client, the mute state and the volume. More...


Static Public Member Functions | |
| static int | clamp (int value, int min, int max) |
The settings of a stream that a source gives the playback engine: how long the source buffers, the latency setting of this client, the mute state and the volume.
Shared by every protocol that feeds the engine. The values are clamped on the way in (a source is not trusted): bufferMs 0 to 10 000, latency -10 000 to 10 000, volume 0 to 100. The Snapcast wire message (ServerSettingsMessage) extends it.