From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: USB fix (debian bug#100041) Date: Wed, 12 Mar 2003 13:44:17 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: Clemens Ladisch , Pedro Lopez-Cabanillas , Jordi Mallach , "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org 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