From: Takashi Iwai <tiwai@suse.de>
To: Martijn Sipkema <msipkema@sipkema-digital.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Invalid MIDI recordings and silent external playback
Date: Mon, 26 Aug 2002 14:39:50 +0200 [thread overview]
Message-ID: <s5hy9atbxpl.wl@alsa2.suse.de> (raw)
In-Reply-To: <004a01c24cf0$5fe8a7a0$0400a8c0@martijn>
At Mon, 26 Aug 2002 12:04:28 +0100,
Martijn Sipkema wrote:
>
> > > 4) BTW, is anyone working on MIDI RESET for ALSA 1.0.0?
> > > alsa-kernel/core/rawmidi.c says MIDI reset is in the
> > > TODO stage. I have instruments that sometimes need
> > > MIDI reset. OSS/Linux 2.0.x had a handy seq_reset()
> > > in drivers/sound/sequencer.c which mostly worked well.
> >
> > I've removed these unimplemented functions. Actually, the current
> > implementation sends 0xfe byte (active sensing) at close(). Sure, we
> > may modify this code to satisfy some non-standard devices.
>
> I don't understand. Can't an application that wants to reset a device
> just send 0xff?
yes. it should work (mostly).
> And why send 0xfe at close? So the receiving device
> will detect a connection loss 300msec later?
> Shouldn't this all be left to the application?
some (mainly old) devices required the active sensing for resetting.
and please note that this feature can be enabled/disabled via API,
too.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
next prev parent reply other threads:[~2002-08-26 12:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-25 23:12 Invalid MIDI recordings and silent external playback Will
2002-08-26 8:55 ` Jaroslav Kysela
2002-08-26 11:04 ` Martijn Sipkema
2002-08-26 12:39 ` Takashi Iwai [this message]
2002-08-26 13:40 ` 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=s5hy9atbxpl.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=msipkema@sipkema-digital.com \
/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.