AudioDataCopyToOptions constructor
AudioDataCopyToOptions({
- required int planeIndex,
- int? frameOffset,
- int? frameCount,
- AudioSampleFormat? format,
Implementation
factory AudioDataCopyToOptions(
{required int planeIndex,
int? frameOffset,
int? frameCount,
AudioSampleFormat? format}) =>
AudioDataCopyToOptions._(
planeIndex: planeIndex,
frameOffset: frameOffset ?? 0,
frameCount: frameCount ?? undefined,
format: format?.value ?? undefined);