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