[LAD] ALSA autoconnect

Paul Davis paul at linuxaudiosystems.com
Wed Dec 23 16:55:57 UTC 2009


On Wed, Dec 23, 2009 at 11:34 AM, Jens M Andreasen
<jens.andreasen at comhem.se> wrote:
> Suppose you wanted a soft-synth to be instantly playable at startup
> (given the option: '--autoconnect') then what would be the ALSA
> functions for:
>
> 1) Saving the current "live" connection at exit (if any.)
> 2) Restoring the above (saved information.)

see http://subversion.ardour.org/svn/ardour2/branches/2.0-ongoing/libs/midi++2/alsa_sequencer_midiport.cc

particularly the "get_state" and "set_state" methods



More information about the Linux-audio-dev mailing list