mirror of https://github.com/ericonr/sndio.git
sndiod: Disable autovol by default and set default volume to 127
The previous behavior of automatically decreasing playback volume when new programs start playing can be achieved with '-w on'.
This commit is contained in:
parent
7534418e78
commit
350db6ce41
|
@ -343,7 +343,7 @@ Reducing the volume in advance allows a client's volume to stay independent
|
|||
from the number of clients as long as their number is small enough.
|
||||
18 volume units (i.e. \-6dB attenuation) allows the number
|
||||
of playback programs to be doubled.
|
||||
The default is 118 i.e. \-3dB.
|
||||
The default is 127.
|
||||
.It Fl w Ar flag
|
||||
Control
|
||||
.Nm
|
||||
|
@ -355,11 +355,8 @@ option.
|
|||
If the flag is
|
||||
.Va on ,
|
||||
then the master volume is automatically adjusted to avoid clipping.
|
||||
Using
|
||||
.Va off
|
||||
makes sense in the rare situation where all programs lower their volumes.
|
||||
The default is
|
||||
.Va on .
|
||||
.Va off .
|
||||
.It Fl z Ar nframes
|
||||
The audio device block size in frames.
|
||||
This is the number of frames between audio clock ticks,
|
||||
|
|
|
@ -387,11 +387,11 @@ main(int argc, char **argv)
|
|||
/*
|
||||
* global options defaults
|
||||
*/
|
||||
vol = 118;
|
||||
vol = 127;
|
||||
dup = 1;
|
||||
mmc = 0;
|
||||
hold = 0;
|
||||
autovol = 1;
|
||||
autovol = 0;
|
||||
bufsz = 0;
|
||||
round = 0;
|
||||
rate = DEFAULT_RATE;
|
||||
|
|
Loading…
Reference in New Issue