diff --git a/src/volume/volume.go b/src/volume/volume.go index de31bfd..56e6cba 100644 --- a/src/volume/volume.go +++ b/src/volume/volume.go @@ -49,9 +49,6 @@ type VolumeSettings struct { } func GetVolumeSettings() (*VolumeSettings, error) { - //osascript -e "get volume settings" - //output volume:81, input volume:50, alert volume:100, output muted:false - device, result := GetDefaultOutputDevice() if result != AudioHardwareNoError { @@ -210,3 +207,6 @@ const ( //script := "set volume output muted (not output muted of (get volume settings))" //return exec.Command("osascript", "-e", "set volume output muted (not output muted of (get volume settings))").Run() + + //osascript -e "get volume settings" + //output volume:81, input volume:50, alert volume:100, output muted:false