How can I intercept the audio stream on an android device?

后端 未结 2 1272
小蘑菇
小蘑菇 2021-02-13 15:42

Let\'s suppose that we have the following scenario: something is playing on an android device (an mp3 par example, but it could be anything that use the audio part of an android

2条回答
  •  生来不讨喜
    2021-02-13 16:19

    Consider using the AudioPlaybackCapture API that was introduced in Android 10 if you want to get the audio stream for a particular app.

提交回复
热议问题