PcmSourceState enum

Where a PcmSource is in its life.

Inheritance
Available extensions

Values

waiting → const PcmSourceState

Created, not yet opened by a player. Chunks wait in the buffer.

reading → const PcmSourceState

A player reads it.

finishing → const PcmSourceState

PcmSource.close was called: the buffered audio still plays out.

drained → const PcmSourceState

The player read everything up to the end set by PcmSource.close.

aborted → const PcmSourceState

PcmSource.abort was called.

stopped → const PcmSourceState

The player let it go before the end, read or not: stop(), a next track, another open(), a removal from the playlist, or a dispose.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<PcmSourceState>
A constant List of the values in this enum, in order of their declaration.