All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: "Thorsten Edelhäußer" <toersi@gmx.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: MIDI message handling
Date: Thu, 05 Jun 2008 13:25:26 +0200	[thread overview]
Message-ID: <4847CD26.4030705@ladisch.de> (raw)
In-Reply-To: <1212522887.17865.14.camel@un1001x>

Thorsten Edelhäußer wrote:
> I'm writing a driver for the MARIAN MARC 8 Midi soundcard. Today I
> tested some MIDI functionality and get some errors from hydrogen
> ("unhandled midi message type"). I did some research and got to the
> point, that the MIDI alive message (0xfe) should not arrive at the
> application.

The Active Sensing message is a valid MIDI message.  This seems to be a
bug in hydrogen.

> So my question is: Do I have to process the midi messages by myself
> before I give it to the alsa "snd_rawmidi_receive" function?
> Or is there already some code, which will do it?

The ALSA framework handles this automatically; your driver is not
required to interpret the MIDI data stream.


Regards,
Clemens

      reply	other threads:[~2008-06-05 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 19:54 MIDI message handling Thorsten Edelhäußer
2008-06-05 11:25 ` Clemens Ladisch [this message]

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=4847CD26.4030705@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=toersi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.