Page 1 of 1

How mute a game while playing?

Posted: 17 Apr 2016 20:01
by wfrcrd
It's seems very simple but...
what kind of audio parameter must I set to completely mute the phone?

I try severals, and the icon on the statusbar shows that the audio properties are changed, but the game still produces sounds .

But if I manually mute the phone from statusbar before to run the game, the game remains mute... weird to me.

Thank you as ausual...

Re: How mute a game while playing?

Posted: 17 Apr 2016 20:29
by MURTUMA
Games use mostly the same audio stream as music players. That would be either "music" or "media" depending on where you look for it. In Automagic it is music.

Re: How mute a game while playing?

Posted: 17 Apr 2016 21:34
by wfrcrd
MURTUMA wrote:Games use mostly the same audio stream as music players. That would be either "music" or "media" depending on where you look for it. In Automagic it is music.

YES! it' works!

One step forward: to make it silent I must set volume music to 0 , how can I give it back the same volume value when I finished to play the game?
The is an option to set it On or Off ?

The music volume varies depending on a "profile scheduler" so it changes during day and night, thank you .

Re: How mute a game while playing?

Posted: 18 Apr 2016 22:44
by MURTUMA
You have to store the volume in global variable before changing it. Use Store Audio Volumes action. Then in second flow, trigger it as needed and use Restore Audio Volumes.

Re: How mute a game while playing?

Posted: 19 Apr 2016 21:41
by wfrcrd
MURTUMA wrote:You have to store the volume in global variable before changing it. Use Store Audio Volumes action. Then in second flow, trigger it as needed and use Restore Audio Volumes.

It works perfectly,thank you !

Re: How mute a game while playing?

Posted: 20 Apr 2016 11:39
by MURTUMA
No prob! I'm glad to help.