Edytuj

Udostępnij za pośrednictwem


AUParameterTree.CreateParameter Method

Definition

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.

unit
AudioUnitParameterUnit

The unit of measurement in which the parameter is expressed.

unitName
String

The localized name of the parameter.

This parameter can be null.

flags
AudioUnitParameterOptions

The parameter options for the parameter.

valueStrings
String[]

The localized value strings for the parameter.

This parameter can be null.

dependentParameters
NSNumber[]

To be added.

This parameter can be null.

Returns

A new parameter that was created with the specified values.

Attributes

Applies to