SystemAudioConfig constructor

SystemAudioConfig({
  1. int sampleRate = 16000,
  2. int channels = 1,
})

Creates a new SystemAudioConfig instance.

All parameters are optional and have default values:

Example:

final config = SystemAudioConfig(
  sampleRate: 44100,
  channels: 2,
);

Implementation

SystemAudioConfig({
  this.sampleRate = 16000,
  this.channels = 1,
});