AudioSource class abstract

Defines the audio source.

An audio source defines both a default physical source of audio signal, and a recording configuration. These constants are for instance used in MediaRecorder.setAudioSource.

Constructors

AudioSource()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

camcorder → const int
Microphone audio source tuned for video recording, with the same orientation as the camera if available.
defaultSource → const int
Default audio source.
mic → const int
Microphone audio source
remoteSubmix → const int
Audio source for a submix of audio streams to be presented remotely.
unprocessed → const int
Microphone audio source tuned for unprocessed (raw) sound if available, behaves like defaultSource otherwise.
voiceCall → const int
Voice call uplink + downlink audio source.
voiceCommunication → const int
Microphone audio source tuned for voice communications such as VoIP.
Voice call downlink (Rx) audio source.
voicePerformance → const int
Source for capturing audio meant to be processed in real time and played back for live performance (e.g karaoke).
voiceRecognition → const int
Microphone audio source tuned for voice recognition.
Voice call uplink (Tx) audio source.