diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-11-10 23:25:38 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-11-10 23:25:38 +0000 |
commit | 122ebd30c24a1bbcc01712945fe70a9507035d0e (patch) | |
tree | 9e208a9d9db736070d535889a5ccfa6cd1475221 /usr.bin/aucat/abuf.h | |
parent | 826857ad8597b5c1726eb93815778835b5322a00 (diff) |
add a per-stream ``soft volume'' knob and the corresponding -v option.
The code will be useful later for the volume knob in the sndio API.
Diffstat (limited to 'usr.bin/aucat/abuf.h')
-rw-r--r-- | usr.bin/aucat/abuf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/aucat/abuf.h b/usr.bin/aucat/abuf.h index ca45674873d..22b052aad2d 100644 --- a/usr.bin/aucat/abuf.h +++ b/usr.bin/aucat/abuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: abuf.h,v 1.12 2008/11/09 16:26:07 ratchov Exp $ */ +/* $OpenBSD: abuf.h,v 1.13 2008/11/10 23:25:37 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -32,7 +32,8 @@ struct abuf { * there can be only one aproc that absorbs xruns in any * intput->output path. */ - int mixivol; /* volume of the source stream */ + int mixweight; /* volume of the source stream */ + unsigned mixvol; /* volume in the range defined by wight */ unsigned mixodone; /* bytes done on the dest stream */ unsigned mixitodo; /* bytes to do on the source stream */ unsigned subidone; /* bytes copied from the source stream */ |