YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.engine.GainMapper Class Reference

The volume and mute of the server settings as a linear gain for the sink. More...

Collaboration diagram for de.yaacc.multiroom.engine.GainMapper:
Collaboration graph

Static Public Member Functions

static float gain (int volume, boolean muted)
 Linear in the percent, like the software volume of the reference client (to be judged by ear on a device).
 

Detailed Description

The volume and mute of the server settings as a linear gain for the sink.

Member Function Documentation

◆ gain()

static float de.yaacc.multiroom.engine.GainMapper.gain ( int volume,
boolean muted )
static

Linear in the percent, like the software volume of the reference client (to be judged by ear on a device).

Parameters
volumepercent; clamped to 0 to 100
Returns
0 when muted, else 0 to 1

The documentation for this class was generated from the following file: