All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Clemens Ladisch <clemens@ladisch.de>,
	Pedro Lopez-Cabanillas <plcl@telefonica.net>,
	Jordi Mallach <jordi@debian.org>,
	"alsa-devel@lists.sourceforge.net"
	<alsa-devel@lists.sourceforge.net>
Subject: Re: USB fix (debian bug#100041)
Date: Wed, 12 Mar 2003 13:44:17 +0100	[thread overview]
Message-ID: <s5h3cls21r2.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0303121049030.1619-100000@pnote.perex-int.cz>

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?

> We can also rename snd_rawmidi_params_set_no_active_sensing() to 
> snd_rawmidi_params_set_no_reset().
 
sounds better.


Takashi


-------------------------------------------------------
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

  parent reply	other threads:[~2003-03-12 12:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E18sngu-0000w3-00@sc8-sf-list2.sourceforge.net>
2003-03-11 20:05 ` USB fix (debian bug#100041) Pedro Lopez-Cabanillas
2003-03-12  9:37   ` Clemens Ladisch
2003-03-12  9:54     ` Jaroslav Kysela
2003-03-12 11:10       ` Clemens Ladisch
2003-03-12 12:44       ` Takashi Iwai [this message]
2003-03-12 12:49         ` Jaroslav Kysela

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=s5h3cls21r2.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    --cc=jordi@debian.org \
    --cc=perex@suse.cz \
    --cc=plcl@telefonica.net \
    /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.