AudioStreamD class

AudioStream, custom audio stream

Inheritance

Constructors

AudioStreamD({StructPointer<AudioStreamD>? op, int sampleRate = 0, int sampleSize = 0, int channels = 0})
AudioStreamD.zero()
factory

Properties

$state → RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
buffer → MemoryPointer<ROpaque>
no setter
channels ↔ int
Number of channels (1-mono, 2-stereo, ...)
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
op ↔ StructPointer<AudioStreamD>?
The C-owned or RaylibTemp-owned typed pointer for this struct, if any.
getter/setter pairinherited
processor → MemoryPointer<ROpaque>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ↔ int
Frequency (samples per second)
getter/setter pair
sampleSize ↔ int
Bit depth (bits per sample): 8, 16, 32 (24 not supported)
getter/setter pair
structIsDisposed → bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName → String
The Dart-side type name of this struct
no setterinherited

Methods

clone() → AudioStreamD
Returns a deep copy of this instance, preserving op if present.
override
copy() → AudioStreamD
Returns a deep copy of this instance without op.
inherited
getOp() → StructPointer<AudioStreamD>
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOpAndDispose() → StructPointer<AudioStreamD>
Returns op and immediately disposes this struct.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDart(AudioStreamD o) → AudioStreamD
Copies the fields of o into this instance.
override
signature() → String
Returns a human-readable representation of this struct.
override
structAllocateInto(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key) → void
Allocates nested pointers into temp under key as needed.
override
structMarkDisposed() → void
Marks this instance as disposed and clears op.
inherited
structOnOp(void callback(StructPointer<AudioStreamD> p)) → void
Calls callback with op if it is set, otherwise no-ops.
inherited
structReadFrom(MemoryPointer<RType> p) → void
override
structSetTag(String newTag) → AudioStreamD
Sets RaylibTempStructState.tag to newTag.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires op.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires op.
inherited
structWriteInto(MemoryPointer<RType> p) → void
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

field_buffer → StructPointerValueField<dynamic, ROpaque>
Field descriptor for buffer.
final
field_channels → StructValueField<int, RUnsignedInt>
Field descriptor for channels.
final
field_processor → StructPointerValueField<dynamic, ROpaque>
Field descriptor for processor.
final
field_sampleRate → StructValueField<int, RUnsignedInt>
Field descriptor for sampleRate.
final
field_sampleSize → StructValueField<int, RUnsignedInt>
Field descriptor for sampleSize.
final
struct → StructType<AudioStreamD>
Describes the raw memory layout, construction, and pointer representation of this struct type.
final
structLayout → StructLayout<AudioStreamField>
Raw memory layout of this object.
final