From: Paul Davis Subject: Re: YES! :-) Was: Bug: ALSA Sequencer or MTPAV - easy to reproduce Date: Wed, 12 Feb 2003 18:33:18 -0500 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030212134436.3b9e2f10.rpav@nwlink.com> Return-path: In-reply-to: Your message of "Wed, 12 Feb 2003 13:44:36 PST." <20030212134436.3b9e2f10.rpav@nwlink.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ryan Pavlik Cc: Jaroslav Kysela , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org >For a somewhat elegant solution, it may be possible to have the mtpav >track the last device and running status. I initially thought this >would be impossible, but it looks like it could be done in >snd_mtpav_output_port_write() (mtpav.c:298). I will work on this and >submit a patch shortly, unless someone suggests a better solution. FYI, the isa/wavefront driver does the same thing (it has two ports and uses un-assigned MIDI bytes to switch between them). you might (or might not) find it useful to take look there. --p ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf