共用方式為


AudioSource Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioRecord..ctor, and F:Android.Media.MediaRecorder.SetAudioSource members.

public enum AudioSource
type AudioSource = 
Inheritance
AudioSource

Fields

Name Value Description
Default 0
Mic 1
2
3
VoiceCall 4
Camcorder 5
VoiceRecognition 6

Microphone audio source tuned for voice recognition if available, behaves like Defaultotherwise.

VoiceCommunication 7

Microphone audio source tuned for voice communications such as VoIP.

RemoteSubmix 8
Unprocessed 9
VoicePerformance 10

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to