Re: [LAU] Where do LADSPA presets get saved?

From: Ken Restivo <ken@email-addr-hidden>
Date: Wed Mar 10 2010 - 06:24:58 EET

On Tue, Mar 09, 2010 at 08:41:09PM +0000, Gordon JC Pearce wrote:
> On Tue, 2010-03-09 at 12:22 -0800, Ken Restivo wrote:
> > I'm trying to Git-ify everything in my music setup. So far so good, except I can't figure out where LADSPA presets get saved.
> >
> > After poking around through the Ardour sourcecode, it looks like the presets don't get saved by Ardour itself; it calls a function in the plugin itself (IIRC, plugin->save_preset() or something like that). Where the plugin actually saves its state is a mystery to me.
> >
> > Any hints?
>
> AFAICT it's implementation-dependent.
>

Ah, found it,

~/.ladspa/rdf/ardour-presets.n3

Obviously, based on the pathname, an RDF format file. Added to git, done.

The code that reads/writes it was not in the plugin itself, it was in Ardour:

http://viewcvs.ardour.org/index.cgi/ardour2/ardour2/branches/2.0-ongoing/libs/ardour/plugin.cc?view=markup

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Mar 10 08:15:01 2010

This archive was generated by hypermail 2.1.8 : Wed Mar 10 2010 - 08:15:01 EET