Re: Where do LADSPA presets get saved?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux