atuhdsw52ed

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorVolumeOR = errors.New("Volume is out of range")
	ErrorMute     = errors.New("Mute State is invalid")
)
View Source
var (
	ErrorOutOfRange = errors.New("input or output is out of range")
)

Functions

This section is empty.

Types

type AtlonaVideoSwitcher5x1

type AtlonaVideoSwitcher5x1 struct {
	// contains filtered or unexported fields
}

func NewAtlonaVideoSwitcher5x1 added in v0.1.7

func NewAtlonaVideoSwitcher5x1(addr string, opts ...Option) *AtlonaVideoSwitcher5x1

func (*AtlonaVideoSwitcher5x1) AudioVideoInputs

func (vs *AtlonaVideoSwitcher5x1) AudioVideoInputs(ctx context.Context) (map[string]string, error)

AudioVideoInputs .

func (*AtlonaVideoSwitcher5x1) Mutes

func (vs *AtlonaVideoSwitcher5x1) Mutes(ctx context.Context, blocks []string) (map[string]bool, error)

Mutes

func (*AtlonaVideoSwitcher5x1) SetAudioVideoInput

func (vs *AtlonaVideoSwitcher5x1) SetAudioVideoInput(ctx context.Context, output, input string) error

SetAudioVideoInput

func (*AtlonaVideoSwitcher5x1) SetMute

func (vs *AtlonaVideoSwitcher5x1) SetMute(ctx context.Context, output string, muted bool) error

SetMute .

func (*AtlonaVideoSwitcher5x1) SetVolume

func (vs *AtlonaVideoSwitcher5x1) SetVolume(ctx context.Context, block string, level int) error

SetVolume .

func (*AtlonaVideoSwitcher5x1) Volumes

func (vs *AtlonaVideoSwitcher5x1) Volumes(ctx context.Context, blocks []string) (map[string]int, error)

Volumes .

type Option added in v0.1.7

type Option interface {
	// contains filtered or unexported methods
}

func WithLogger added in v0.1.7

func WithLogger(l *zap.Logger) Option

Jump to

Keyboard shortcuts

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