Alcatraz323 / audiohq_module

Provide binary and apk for controlling each applications volume using Magisk
227 stars 13 forks source link

Allow controlling of multiple app instances #24

Open schrmh opened 1 year ago

schrmh commented 1 year ago

I'd like to be able to control the individual volume of multiple instances of basically the same app running (cloned with e.g. Xiaomi's clone feature or an app like Island/Insular). At the moment, I only get a single slider that controls the volume of all instances running on MIUI 12.

Alcatraz323 commented 1 year ago

In the audio mixer section, you can unfold the app, which may achieve your target

schrmh commented 1 year ago

Do you mean when the floating speaker icon is tapped? Then nope. I see multiple bars if multiple apps output sound but if there is a cloned app then it shares the bar with the main instance of the same app. Within the app itself I can't find more advanced stuff regarding that but maybe I'm misinterpreting something? In the presets and the sticky window list the app only appears once as well.

Alcatraz323 commented 1 year ago

Not the sticky window or the preset, it's the now playing section

schrmh commented 1 year ago

On the main screen at the "Playing" section it does say "There are 2 processes playing in AudioMixer" when I have two instances (that actually play audio) open, but when I go into "Playing" screen I only see a entry for the app (consisting of the icon, the app name and below the package name) once. When I click on it there, I get one entry with the name of the package and 2/2 below it. Clicking on that leads me to the "Preset profile" screen.

So it looks like I can't even control it there individually.

schrmh commented 1 year ago

Hm, I noticed that it seems like that currently (I thought it was different but it has been a while since the last time I wanted to control multiple instances of the same app so maybe I misremember) only one of the instances is affected by the volume changes (and not all of them). It always seems to control the instance which started playing audio last (I tried that with three open instances of the same app). The volume of the others can only be changed by changing the global volume for all apps.

Stryill commented 9 months ago

Enabling control of multiple app instances depends on the specific app and platform. Check app settings, use multiple accounts if supported, consider app cloning, explore virtual machines for advanced users, check Android developer options, and use third-party apps cautiously, prioritizing adherence to terms of service and guidelines.

Stryill commented 1 month ago

I'd like to control the individual volume of multiple instances of the same app running (cloned using Xiaomi's clone feature or an app like Island/Insular). Currently, on MIUI 12, I only have a single slider that adjusts the volume for all instances simultaneously.