diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-08-17 16:17:47 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-08-17 16:17:47 +0000 |
commit | 087940a04e017b0675b4968a8cc45ad123ed8ff9 (patch) | |
tree | d09211a092d4ef6da01566021d6f6de3cb9112b3 /usr.bin/aucat/sock.c | |
parent | 99f722f4941568490afa47b5151c418874ccc8ab (diff) |
allow midicat to take multiple -i and -o options
Diffstat (limited to 'usr.bin/aucat/sock.c')
-rw-r--r-- | usr.bin/aucat/sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/sock.c b/usr.bin/aucat/sock.c index cf9b6514347..504349b4bf0 100644 --- a/usr.bin/aucat/sock.c +++ b/usr.bin/aucat/sock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.21 2009/08/17 15:07:49 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.22 2009/08/17 16:17:46 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -718,12 +718,12 @@ sock_midiattach(struct sock *f, unsigned mode) struct abuf *rbuf = NULL, *wbuf = NULL; if (mode & AMSG_MIDIOUT) { - rbuf = abuf_new(3125, &aparams_none); + rbuf = abuf_new(MIDI_BUFSZ, &aparams_none); aproc_setout(f->pipe.file.rproc, rbuf); aproc_setin(thrubox, rbuf); } if (mode & AMSG_MIDIIN) { - wbuf = abuf_new(3125, &aparams_none); + wbuf = abuf_new(MIDI_BUFSZ, &aparams_none); aproc_setin(f->pipe.file.wproc, wbuf); aproc_setout(thrubox, wbuf); if (mode & AMSG_MIDIOUT) { |