diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-08-17 15:07:50 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-08-17 15:07:50 +0000 |
commit | 99f722f4941568490afa47b5151c418874ccc8ab (patch) | |
tree | acb3f93bd79aced70d92081d328cf9fa7e03b3fa /usr.bin/aucat/aparams.c | |
parent | 41a769e460c62f193a71ca69b370bae198b6bfc5 (diff) |
if one or more MIDI devices are specified in server mode, subscribe
them to the MIDI thru box
Diffstat (limited to 'usr.bin/aucat/aparams.c')
-rw-r--r-- | usr.bin/aucat/aparams.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/aucat/aparams.c b/usr.bin/aucat/aparams.c index 1d1d31bf381..e94086ad6d3 100644 --- a/usr.bin/aucat/aparams.c +++ b/usr.bin/aucat/aparams.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aparams.c,v 1.7 2009/07/25 10:52:18 ratchov Exp $ */ +/* $OpenBSD: aparams.c,v 1.8 2009/08/17 15:07:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -42,6 +42,11 @@ int aparams_ctltovol[128] = { }; /* + * Fake parameters for byte-streams + */ +struct aparams aparams_none = { 1, 0, 0, 0, 0, 0, 0, 0 }; + +/* * Generate a string corresponding to the encoding in par, * return the length of the resulting string. */ |