Re: [LAD] ALSA autoconnect

From: Paul Davis <paul@email-addr-hidden>
Date: Wed Dec 23 2009 - 18:55:57 EET

On Wed, Dec 23, 2009 at 11:34 AM, Jens M Andreasen
<jens.andreasen@email-addr-hidden> 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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Dec 23 20:15:06 2009

This archive was generated by hypermail 2.1.8 : Wed Dec 23 2009 - 20:15:06 EET