On Wed, 12 Mar 2003, Takashi Iwai wrote:
> At Wed, 12 Mar 2003 10:54:26 +0100 (CET),
> Jaroslav wrote:
> >
> > On Wed, 12 Mar 2003, Clemens Ladisch wrote:
> >
> > > > I know that using ALSA rawmidi API, there is a function to prevent this, doing
> > > > something like this:
> > > > snd_rawmidi_params_set_no_active_sensing(handle_out, params,
> > > > 1);
> > > > But, how to do something like that for OSS programs? (without fixing the OSS
> > > > program itself, of course)
> > >
> > > Neither OSS nor ALSA sequencer ports can change parameters of the
> > > underlying rawmidi port. Maybe there should be a module parameter for
> > > this.
> >
> > Yes, if this behaviour causes troubles, we can specify the reset behaviour
> > via a module parameter.
> >
> > Perhaps, the best solution is to implement a control element which will
> > define the "reset" byte sequence when the rawmidi device is closed. Then
> > users might configure things themselves.
>
> yes. we can use IFACE_RAWMIDI for this control.
> in which layer the implementation should come? in the rawmidi
> commonly?
Yes, it belongs to the midlevel code - alsa-kernel/code/rawmidi.c.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel