AudioSampleNode class

Inheritance

Constructors

AudioSampleNode(AudioContext ctx, {AudioBus? resource})

Properties

channelCount int
no setterinherited
ctx AudioContext
getter/setter pairinherited
cursor int
no setter
detune AudioParam
getter/setter pair
duration Duration?
no setter
hasFinished bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPlayingOrScheduled bool
no setterinherited
isScheduledNode bool
no setterinherited
linked List<AudioNode>
getter/setter pairinherited
name String
no setterinherited
nodeId int
finalinherited
numberOfInputs int
no setterinherited
numberOfOutputs int
no setterinherited
onEnded Stream
no setter
playbackRate AudioParam
getter/setter pair
playbackState SchedulingState
no setterinherited
position Duration?
no setter
released bool
已释放
no setterinherited
resource AudioBus?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startWhen int
no setterinherited
useCount int
no setterinherited

Methods

clearSchedules({double? when}) → dynamic
connect(AudioNode dst, [dynamic destIdx = 0, int srcIdx = 0]) → dynamic
inherited
connectParam(AudioParam destination, [int output = 0]) → dynamic
inherited
disconnect([AudioNode? dst, dynamic destIdx = 0, int srcIdx = 0]) → dynamic
inherited
dispose() → dynamic
override
endedDispose({Function? destroyed}) → dynamic
initialize() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → dynamic
inherited
schedule({double? relativeWhen, double? offset, double? duration, int? loopCount}) → dynamic
setBus(AudioBus resource) → dynamic
start({double? when, double? offset, double? duration, int? loopCount}) → dynamic
override
stop({double? when}) → dynamic
override
toString() String
A string representation of this object.
override
uninitialize() → dynamic
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator >>(AudioNode otherNode) → dynamic
inherited