helpers

package
v0.0.0-...-cbee873 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DbToVolumeLevel

func DbToVolumeLevel(level float64) int

func GetControlStatus

func GetControlStatus(address, name string) (qsysremote.QSCGetStatusResponse, error)

func GetDetails

func GetDetails(address string) (structs.HardwareInfo, *nerr.E)

GetDetails is all the juicy details about the QSC that everyone is DYING to know about

func GetMute

func GetMute(address, name string) (status.Mute, error)

func GetStatus

func GetStatus(address string) (qsysremote.QSCStatusGetResponse, error)

GetStatus will be getting responses for us I hope...

func GetVolume

func GetVolume(address, name string) (status.Volume, error)

func Mute

func Mute(address, name string) (status.Mute, error)

func SetControlStatus

func SetControlStatus(address, name, value string) (qsysremote.QSCSetStatusResponse, error)

func SetVolume

func SetVolume(address, name string, level int) (status.Volume, error)

func UnMute

func UnMute(address, name string) (status.Mute, error)

func VolToDb

func VolToDb(level int) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL