Record any audio stream you want.
Since Android 10, the system introduced the AudioPlaybackCapture API for capturing internal audio playback. It also implemented policies that allow applications to decide whether to permit their audio output to be recorded by other applications or the system.
This Xposed module let you to capture any audio stream you desire, bypassing these restrictions.
ApplicationInfo.privateFlags
and
AudioAttributes.Builder#setAllowedCapturePolicy(int)
.This module inject hooks to the android
system package, and add
PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE
into Application’s privateFlags.
XAudioCapture
(this module) in your LSPosed framework settingandroid
system package in scope settingXAudioCapture
UI, select the app you want to recordAudioAttributes.Builder#setAllowedCapturePolicy(int)
while the target application calls it.android
package in your Main profile,
and tick the apps you want to record in the according profile.All the UI is forked from XAppDebug
io.github.wzhy.xaudiocapture