Re: audiounit persistent property (how?)
Re: audiounit persistent property (how?)
- Subject: Re: audiounit persistent property (how?)
- From: Stefan Gretscher <email@hidden>
- Date: Thu, 3 Jan 2008 11:36:46 +0100
In addition to what was said below, in the particular case of file
references I'd recommend to use the AU file reference format
associated with kAUPresetExternalFileRefs.
This system will allow hosts to manage the assets associated with the
particular AU setting in the same way it manages the audio files
contained in projects, allowing for content-complete project backups
etc.
See Tiger's /Developer/Examples/CoreAudio/Documentation/AudioUnits/
AUPresetsAndFileReferences.rtf for more information.
Best,
Stefan
Am 18.12.2007 um 08:43 schrieb Daniel Oberhoff:
Ah, cool, that's easy :).
Daniel
Am 18.12.2007 um 02:49 schrieb William Stewart:
You overide the AUBase Get and Restore State calls, and just add
an entry into the dictionary (and retrieve it)... Something like:
SaveState
- add a path key where the value is a file path
RestoreState
- retrieve the path key value - and that is your file
Bill
On Dec 17, 2007, at 1:46 PM, Daniel Oberhoff wrote:
Hi,
Can someone tell me, how I can make a property of an AudioUnit
persistent, i.e. saved along the parameter settings and also in
presets? To give the background: I am making a simple little
sampler to play my old amiga samples, and I want to save the path
of the audio file.
thx
Daniel
------------------------------------
Stefan Gretscher
plug-in development & 3rd party developer support
phone: (+49)-4101-495-586 (Central European Time)
AU developer support: email@hidden
TDM developer support: email@hidden
Apple GmbH
Geschäftsführung: Georges Guyon de Chemilly
Sitz der Gesellschaft: München
Amtsgericht München, HRB 66158
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden