Jump to content

[Visualization] why Poweramp doesn't require record audio permission for visualization

John Titor

Recommended Posts

Why doesn't Poweramp need android.permission.RECORD_AUDIO permission? How does it produce visualization?

According to Audiofx docs for Visualizer

> However, to protect privacy of certain audio data (e.g voice mail) the use of the visualizer requires the permission android.permission.RECORD_AUDIO.

Link to comment
Share on other sites

That would only be needed if an app was trying to retrieve the main system audio output, which PA does not. PA is generating the playback itself, so has access to all the data before playing it.



The Visualizer class enables application to retrieve part of the currently playing audio for visualization purpose. It is not an audio recording interface and only returns partial and low quality audio content.


Link to comment
Share on other sites

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...