Re: audiounit persistent property (how?)
Re: audiounit persistent property (how?)
- Subject: Re: audiounit persistent property (how?)
- From: William Stewart <email@hidden>
- Date: Mon, 17 Dec 2007 17:49:33 -0800
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
_______________________________________________
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
_______________________________________________
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