HwAudioSource player
HwAudioSource connects the audio source device directly to an Android mixer.
HwAudioSource is a new type of player designed as a software patch. This enables apps that use this player to receive media key events and the output stream to be mixed and routed by Android.
mHwAudioSource = new HwAudioSource.Builder()
.setAudioDeviceInfo(AudioDeviceInfo: info)
.setAudioAttributes(new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA).build())
.build();
mHwAudioSource.play();
mHwAudioSource.stop();
Concurrent capture
Android10 原生支持
浙公网安备 33010602011771号