Working with volume variables

สอนใช้แอพ Automagic * Automation
Gridvision Engineering GmbH
https://play.google.com/store/apps/details?id=ch.gridvision.ppam.androidautomagic
Post Reply
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Working with volume variables

Post by tong »

Screenshot_2016-11-10-16-48-46-177.jpg Screenshot_2016-11-10-16-40-02-392.jpg We can't set the volume by using the action "Set System Setting".
We have to use the action "Set Audio Volume".
To working with variables, it depends on headset is plugged in or not.
Speaker                         Headset Plugged
---------------------------     ---------------------------
volume_alarm_speaker            volume_alarm_speaker
volume_music_speaker            volume_music_headset
volume_notification_speaker     volume_notification_speaker
volume_ring_speaker             volume_ring_headset
volume_system_speaker           volume_system_headset
volume_voice_earpiece           volume_voice_headset
It also auto reduce the notification and ring volumes when plugged the headset.
So it's good to re-apply the volume profile when plugged and unplugged the headset.
Post Reply