Instance Method

setBusCount:error:

Changes the number of busses in the array.

Declaration

- (BOOL)setBusCount:(NSUInteger)count error:(NSError * _Nullable *)outError;

Parameters

count

The new number of busses in the array.

outError

Returns an error if the operation failed, or nil if it succeeded.

Return Value

  • YES if the operation succeeded.

  • NO if the operation failed.

Discussion

See Also

Bus Array Methods and Properties

count

The number of busses in the array.

countChangeable

Determines whether the array can have a variable number of busses.

ownerAudioUnit

The audio unit that owns the bus array.

busType

Determines whether the bus array is for input or output.

- objectAtIndexedSubscript:

Returns the bus at the specified index.

- addObserverToAllBusses:forKeyPath:options:context:

Adds a KVO observer for a given property on all busses in the array.

- removeObserverFromAllBusses:forKeyPath:context:

Removes a KVO observer for a given property on all busses in the array.