AudioRoutingConfig constructor

const AudioRoutingConfig({
  1. required RouteConfigEntry defaultRoute,
  2. RouteConfigEntry? carAudio,
  3. RouteConfigEntry? builtInReceiver,
  4. RouteConfigEntry? builtInSpeaker,
  5. RouteConfigEntry? bluetoothA2DP,
  6. RouteConfigEntry? bluetoothHFP,
  7. RouteConfigEntry? headphones,
  8. PlaybackRoutingConfig? whenPlayingAudio,
  9. STTDuckingConfig? sttDuckingConfig,
  10. AECConfig? aec,
  11. WakewordAECConfig? wakewordAEC,
  12. WakeWordDuringTTSConfig? wakeWordDuringTTS,
})

Creates an audio routing configuration.

Implementation

const AudioRoutingConfig({
  required this.defaultRoute,
  this.carAudio,
  this.builtInReceiver,
  this.builtInSpeaker,
  this.bluetoothA2DP,
  this.bluetoothHFP,
  this.headphones,
  this.whenPlayingAudio,
  this.sttDuckingConfig,
  this.aec,
  this.wakewordAEC,
  this.wakeWordDuringTTS,
});