[alsa-devel] sscape: general code improvements
tiwai at suse.de
Wed Oct 7 13:57:52 CEST 2009
At 07 Oct 2009 13:19:25 +0200,
krzysztof.h1 at poczta.fm wrote:
> > > What is a standard name for switch to select internal or external midi?
> > It is very easy to
> > > add such a functionality to the driver.
> > What do you mean exactly to switch int/ext midi?
> > Usually the driver provides the interfaces for both, and let user choose.
> > If they are exclusive, it's checked in the open.
> > Or, if preferred, a control element can be used to choose the
> > interface...
> The driver interface (MPU-401 UART) is only one and there is a
> command to switch it to the on-board synthetizer or external midi
> (joysitck port on the card).
If it can be done on the fly without any conflict, I'd implement it
as a control element. You can use iface=CARD to hide from mixer app,
More information about the Alsa-devel