Android Capture Android System Audio

Source: Internet
Author: User

The project needs to get the real-time volume value of the video playback, the simplest way is to listen to the audio output, get the audio output stream, and then convert.

When investigating, first find this blog:

http://blog.csdn.net/jinzhuojun/article/details/33748031

The output stream data is recorded in real time using the newly added MediaRecorder.AudioSource.REMOTE_SUBMIX parameter in API 19.

Because you need system-level permissions to use the Remote_submix parameter, try changing the application signature to system signing.

Reference: System signing for Android app under Windows

The change signature was successful, but there was an error during installation and both Samsung and Nexus failed to install.

Continue to find the reason, found that changing the system signature is only applicable to the system itself compiled, for the domestic various deep custom systems, the application can not be installed.

Get the system audio out of the scheme this declares bankruptcy!

In addition, Google found someone suggested to try Android.media.audiofx.Virtualizer

Record Android Audio Output

Android Get device overall audio output in PCM

The preliminary view seems to have the possibility of use, the next stage to investigate well.

Android Capture Android System Audio

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.