| java.lang.Object | |
| ↳ | android.media.MediaRecorder.AudioSource | 
Defines the audio source. These constants are used with
 setAudioSource(int).
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | CAMCORDER | Microphone audio source with same orientation as camera if available, the main device microphone otherwise | |||||||||
| int | DEFAULT | Default audio source | |||||||||
| int | MIC | Microphone audio source | |||||||||
| int | REMOTE_SUBMIX | Audio source for a submix of audio streams to be presented remotely. | |||||||||
| int | VOICE_CALL | Voice call uplink + downlink audio source | |||||||||
| int | VOICE_COMMUNICATION | Microphone audio source tuned for voice communications such as VoIP. | |||||||||
| int | VOICE_DOWNLINK | Voice call downlink (Rx) audio source | |||||||||
| int | VOICE_RECOGNITION | Microphone audio source tuned for voice recognition if available, behaves like DEFAULTotherwise. | |||||||||
| int | VOICE_UPLINK | Voice call uplink (Tx) audio source | |||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Microphone audio source with same orientation as camera if available, the main device microphone otherwise
Default audio source
Microphone audio source
Audio source for a submix of audio streams to be presented remotely.
An application can use this audio source to capture a mix of audio streams that should be transmitted to a remote receiver such as a Wifi display. While recording is active, these audio streams are redirected to the remote submix instead of being played on the device speaker or headset.
 Certain streams are excluded from the remote submix, including
 STREAM_RING, STREAM_ALARM,
 and STREAM_NOTIFICATION.  These streams will continue
 to be presented locally as usual.
 
 Capturing the remote submix audio requires the
 CAPTURE_AUDIO_OUTPUT permission.
 This permission is reserved for use by system components and is not available to
 third-party applications.
 
Voice call uplink + downlink audio source
Microphone audio source tuned for voice communications such as VoIP. It
  will for instance take advantage of echo cancellation or automatic gain control
  if available. It otherwise behaves like DEFAULT if no voice processing
  is applied.
Voice call downlink (Rx) audio source
Microphone audio source tuned for voice recognition if available, behaves like
  DEFAULT otherwise. 
Voice call uplink (Tx) audio source