Sound constructor

Sound({
  1. StructPointer<Sound>? op,
  2. AudioStream? stream,
  3. int frameCount = 0,
})

Implementation

Sound({
  super.op,
  AudioStream? stream,
  int frameCount = 0,
}) :
  _stream = stream ?? .zero(),
  _frameCount = frameCount;