AudioConfig constructor
AudioConfig({
- int bitrate = 128000,
- Channel channel = Channel.stereo,
- SampleRate sampleRate = SampleRate.kHz_44_1,
- bool enableEchoCanceler = true,
- bool enableNoiseSuppressor = true,
Creates a new AudioConfig instance.
sampleRate is only supported on Android. channel is only supported on Android.
Implementation
AudioConfig(
{this.bitrate = 128000,
this.channel = Channel.stereo,
this.sampleRate = SampleRate.kHz_44_1,
this.enableEchoCanceler = true,
this.enableNoiseSuppressor = true})
: assert(bitrate > 0);