diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-11-16 16:30:23 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-11-16 16:30:23 +0000 |
commit | 1ceac89becb8b9bfe05eeeadda1ddb4f289cd2ed (patch) | |
tree | 5f727297157c40b204558195377f59ab6101228b /usr.bin/aucat/dev.h | |
parent | 04ff6503a6913923896c17eec5af905fbced51a6 (diff) |
Make clients inherit the volume parameter when the -v option is used in
server mode. It gives the maximum volume a client may have. This wastes
dynamic range, but allows volume to stay constant when other clients
connect or disconnect.
Diffstat (limited to 'usr.bin/aucat/dev.h')
-rw-r--r-- | usr.bin/aucat/dev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/dev.h b/usr.bin/aucat/dev.h index 6c7c94244aa..a131064d2c1 100644 --- a/usr.bin/aucat/dev.h +++ b/usr.bin/aucat/dev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.h,v 1.6 2008/11/10 23:25:37 ratchov Exp $ */ +/* $OpenBSD: dev.h,v 1.7 2008/11/16 16:30:22 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -37,7 +37,7 @@ int dev_getep(struct abuf **, struct abuf **); void dev_sync(struct abuf *, struct abuf *); void dev_attach(char *, struct abuf *, struct aparams *, unsigned, - struct abuf *, struct aparams *, unsigned); + struct abuf *, struct aparams *, unsigned, int); void dev_setvol(struct abuf *, int); void dev_clear(void); |