AUParameterTree.CreateParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new parameter with the specified values.
[Foundation.Export("createParameterWithIdentifier:name:address:min:max:unit:unitName:flags:valueStrings:dependentParameters:")]
public static AudioUnit.AUParameter CreateParameter (string identifier, string name, ulong address, float min, float max, AudioUnit.AudioUnitParameterUnit unit, string unitName, AudioUnit.AudioUnitParameterOptions flags, string[] valueStrings, Foundation.NSNumber[] dependentParameters);
static member CreateParameter : string * string * uint64 * single * single * AudioUnit.AudioUnitParameterUnit * string * AudioUnit.AudioUnitParameterOptions * string[] * Foundation.NSNumber[] -> AudioUnit.AUParameter
Parameters
- identifier
- String
A permanent non-localized name for the parameter.
- name
- String
A localized display name.
- address
- UInt64
The address of the parameter.
- min
- Single
The minimum allowed value of the parameter.
- max
- Single
The maximum allowed value of the parameter.
The unit of measurement in which the parameter is expressed.
The parameter options for the parameter.
Returns
A new parameter that was created with the specified values.
- Attributes