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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to