AudioBus class

Constructors

AudioBus.fromId(int resourceId, {bool autoDispose = false, String? debugName})

Properties

autoDispose bool
getter/setter pair
complete Future<AudioBus>?
getter/setter pair
debugName String?
getter/setter pair
duration Duration
no setter
filePath String
getter/setter pair
has int
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
lengthInSeconds double
no setter
loaded bool
getter/setter pair
numberOfChannels int
no setter
released bool
getter/setter pair
resourceId int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate double
no setter
usedNode Set<AudioNode>
getter/setter pair

Methods

channel(int channelIndex) → AudioChannel?
dispose() → dynamic
lock(AudioNode node) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
unlock(AudioNode node) → dynamic

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBuffer(Uint8List buffer, {dynamic autoDispose = false, String? extension, String? debugName, bool mixToMono = false}) Future<AudioBus>
fromFile(String filePath, {dynamic autoDispose = false, String? debugName, bool? mixToMono, double? targetSampleRate}) Future<AudioBus>