Documentation ¶
Index ¶
- Variables
- type AtlonaVideoSwitcher5x1
- func (vs *AtlonaVideoSwitcher5x1) AudioVideoInputs(ctx context.Context) (map[string]string, error)
- func (vs *AtlonaVideoSwitcher5x1) Mutes(ctx context.Context, blocks []string) (map[string]bool, error)
- func (vs *AtlonaVideoSwitcher5x1) SetAudioVideoInput(ctx context.Context, output, input string) error
- func (vs *AtlonaVideoSwitcher5x1) SetMute(ctx context.Context, output string, muted bool) error
- func (vs *AtlonaVideoSwitcher5x1) SetVolume(ctx context.Context, block string, level int) error
- func (vs *AtlonaVideoSwitcher5x1) Volumes(ctx context.Context, blocks []string) (map[string]int, error)
- type Option
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 ¶
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
Click to show internal directories.
Click to hide internal directories.