Versions in this module Expand all Collapse all v0 v0.5.0 Nov 13, 2020 v0.4.0 Oct 27, 2020 Changes in this version + var AudioSessionNotFound = errors.New("audio session not found") + var MissingAudioEndpointVolume = errors.New("device has no volume endpoint") + var UninitializedDeviceError = errors.New("IMMDevice is nil or uninitialized") + type Device struct + func New(mmd *wca.IMMDevice) (*Device, error) + func (d *Device) Cleanup() error + func (d *Device) DeviceName() (string, error) + func (d *Device) GetVolumeLevel() (float32, error) + func (d *Device) RefreshAudioSessions() error + func (d *Device) SetAudioSessionVolumeLevel(sessionName string, v float32) error + func (d *Device) SetVolumeLevel(v float32) error