Hello,
I'm trying to capture the output Audio using AudioRecord
Capture audio playback
The
AudioPlaybackCapture API was introduced in Android 10. This API gives apps the ability to copy the audio being played by other apps. This feature is the analog of screen capture, but for audio. The primary use case is for streaming apps that want to capture the audio being played by games.
Note that the AudioPlaybackCapture API does not affect the latency of the app whose audio is being captured.
any ideas how to achieve that ?