How mute a game while playing?

Post your questions and help other users.

Moderator: Martin

Post Reply
wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

How mute a game while playing?

Post by wfrcrd » 17 Apr 2016 20:01

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...

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: How mute a game while playing?

Post by MURTUMA » 17 Apr 2016 20:29

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.

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: How mute a game while playing?

Post by wfrcrd » 17 Apr 2016 21:34

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 .

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: How mute a game while playing?

Post by MURTUMA » 18 Apr 2016 22:44

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.

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: How mute a game while playing?

Post by wfrcrd » 19 Apr 2016 21:41

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 !

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: How mute a game while playing?

Post by MURTUMA » 20 Apr 2016 11:39

No prob! I'm glad to help.

Post Reply