add new audio sources for audio capture
This commit adds the following audio capture sources: - AudioSource.VOICE_PERFORMANCE: for real time live performances like Karaoke. - AudioSource.ECHO_REFERENCE: for capturing the reference signal to suppress by an echo canceller. Protected by privileged permission CAPTURE_AUDIO_OUTPUT. Also added device AUDIO_DEVICE_IN_ECHO_REFERENCE selected when the requested capture source is AudioSource.ECHO_REFERENCE. Bug: 118203066 Test: CTS tests for audio capture Change-Id: I8258296736848986562f7fc89c9260aad562d3d1
Loading
Please register or sign in to comment