diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sndiod/sndiod.8 | 11 | ||||
-rw-r--r-- | usr.bin/sndiod/sndiod.c | 6 |
2 files changed, 7 insertions, 10 deletions
diff --git a/usr.bin/sndiod/sndiod.8 b/usr.bin/sndiod/sndiod.8 index c7a28109b11..77b61d8165f 100644 --- a/usr.bin/sndiod/sndiod.8 +++ b/usr.bin/sndiod/sndiod.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sndiod.8,v 1.9 2021/02/01 07:09:37 jmc Exp $ +.\" $OpenBSD: sndiod.8,v 1.10 2021/02/05 17:59:33 jcs Exp $ .\" .\" Copyright (c) 2006-2012 Alexandre Ratchov <alex@caoua.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 1 2021 $ +.Dd $Mdocdate: February 5 2021 $ .Dt SNDIOD 8 .Os .Sh NAME @@ -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, diff --git a/usr.bin/sndiod/sndiod.c b/usr.bin/sndiod/sndiod.c index 23e5966d26e..c0b7862888c 100644 --- a/usr.bin/sndiod/sndiod.c +++ b/usr.bin/sndiod/sndiod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sndiod.c,v 1.43 2021/01/29 11:21:00 ratchov Exp $ */ +/* $OpenBSD: sndiod.c,v 1.44 2021/02/05 17:59:33 jcs Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -477,11 +477,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; |