PcmFrame constructor

const PcmFrame({
  1. required Float32List samples,
  2. required Duration timestamp,
  3. required int sampleRate,
  4. required int channels,
})

Creates a frame. The player's pipelines build them, and an app can build one to run through a BandProcessor.

Implementation

const PcmFrame({
  required this.samples,
  required this.timestamp,
  required this.sampleRate,
  required this.channels,
});