AudioRecord
Public AudioRecord (int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes)
AudioSource said audio source, in audioSource lists the different audio sources, including:
AudioSource. DEFAULT: the DEFAULT audio source
AudioSource. MIC: microphone (common)
AudioSource. VOICE_UPLINK: phone upside
Downward AudioSource. VOICE_DOWNLINK: phone
TDD AudioSource. VOICE_CALL: telephone, ham has
AudioSource. CAMCORDER: microphone near the camera
AudioSource. VOICE_RECOGNITION: speech recognition
AudioSource. VOICE_COMMUNICATION: voice communication
Recording using source AudioSource. MIC and AudioSource. VOICE_RECOGNITION
How to set the recording volume respectively?
CodePudding user response:
No recording volume, and only the sound of your voice db,