struct property

StructType<SoundD> struct
final

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<SoundD> struct = .new(
  factory: SoundD.new,
  layout: .aligned<SoundField>({
    .stream:     RStruct(AudioStreamD.struct), // Audio stream
    .frameCount: RUnsignedInt(), // Total number of frames (considering channels)
  }),
);