Mute audio during call

Nolan

Member
Hi

seems android 11 has disabled the option to mute audion during call ie nitifications etc. Is there a feature (i looked but cant find any) to mute the audio during call and unmute upon call ended ?

I can ses DND or silent (but that leaves media audio stream unchanged) but that leads to incoming calls being rejected (DND feature) and notifications to fire nevettheless unless medau audio stream is set to "0" but resetting is then a problem because the level the media stream had before setting it to "0" is unknown.

Any ideas ?

thanks

Nolan
 

Nolan

Member
Thanks, got the ideas and found i need to set a integer variable. But where do i read about the argument herefor, ie what do i write in the integer text field to read and to set media audio stream level ?
 

Dm114

Well-known member
Thanks, got the ideas and found i need to set a integer variable. But where do i read about the argument herefor, ie what do i write in the integer text field to read and to set media audio stream level ?
In the 'Set variable' action, check 'Expression' then look for Magic text 'Media volume' pressing the 3-dot button _____ [...]
 

Nolan

Member
Thanks i selected:

Macrodroid specific => set variable => New variable => and see in the dropdown only boolean, integer, string and decimal but no Expression. Where to find that ?

Nolan
 

Pseudocyclic

Well-known member
Set Variable

select (or create) an integer variable

select Expression

select the blue square ... options menu icon

scroll down and select from the 'Currrent Volume' options

And then use the Volume Change action to change the setting to zero, and again to change it back.
 

Nolan

Member
sorry found it, i made the lookup of medai audio level. But how do i insert that into changing the media audio level again ?

regards Nolan
 

Nolan

Member
Brilliant thank you:)

PS recommended macrodroid in the samsung forum where i read about others having problems with this phenomenon in android 11. I use MD not just for customizing events but also to "repair bugs" that never get fixed

Thanks again

regards Nolan
 
Top