AudioDataInit constructor
AudioDataInit({
- required AudioSampleFormat format,
- required double sampleRate,
- required int numberOfFrames,
- required int numberOfChannels,
- required int timestamp,
- dynamic data,
Implementation
factory AudioDataInit(
{required AudioSampleFormat format,
required double sampleRate,
required int numberOfFrames,
required int numberOfChannels,
required int timestamp,
dynamic data}) =>
AudioDataInit._(
format: format.value,
sampleRate: sampleRate,
numberOfFrames: numberOfFrames,
numberOfChannels: numberOfChannels,
timestamp: timestamp,
data: data ?? undefined);