From: Ralf Beck <musical_snake@gmx.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH]: snd_seq_virmidi.c do not use running status for virmidi raw input
Date: Wed, 07 May 2014 19:44:36 +0200 [thread overview]
Message-ID: <536A7104.7010009@gmx.de> (raw)
Rationale: Not every rawmidi alsa client (e.q. Bitwig) support running
status on input.
There is also no need for running status inside a computer.
This patch disables the removal of the status byte when decoding
snd_midi_event structures to a rawmidi bytestream
--- sound/core/seq/seq_virmidi.c.orig 2014-05-07 19:30:44.175914670 +0200
+++ sound/core/seq/seq_virmidi.c 2014-05-07 19:33:38.931906859 +0200
@@ -212,6 +212,7 @@ static int snd_virmidi_input_open(struct
kfree(vmidi);
return -ENOMEM;
}
+ vmidi->parser->nostat = 1;
vmidi->seq_mode = rdev->seq_mode;
vmidi->client = rdev->client;
vmidi->port = rdev->port;
next reply other threads:[~2014-05-07 17:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 17:44 Ralf Beck [this message]
2014-05-07 20:41 ` [PATCH]: snd_seq_virmidi.c do not use running status for virmidi raw input Clemens Ladisch
2014-05-08 6:00 ` Ralf Beck
2014-05-08 20:08 ` Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=536A7104.7010009@gmx.de \
--to=musical_snake@gmx.de \
--cc=alsa-devel@alsa-project.org \
--cc=ralfbeck1@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox