snapcast

package
v0.0.0-...-a139c6d Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapClient

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

func Create

func Create(host, port, id string, output chan []int16, log *logrus.Logger) (SnapClient, error)

func (SnapClient) Close

func (client SnapClient) Close()

func (*SnapClient) Initialize

func (client *SnapClient) Initialize() error

type SnapControl

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

func CreateSnapControl

func CreateSnapControl(host, port, id string, volume, ducking uint) (*SnapControl, error)

func (SnapControl) GetDucking

func (s SnapControl) GetDucking() uint

func (SnapControl) GetVolume

func (s SnapControl) GetVolume() uint

func (*SnapControl) SetDucking

func (s *SnapControl) SetDucking(ducking uint) error

func (*SnapControl) SetDuckingState

func (s *SnapControl) SetDuckingState(state bool)

func (*SnapControl) SetVolume

func (s *SnapControl) SetVolume(volume uint) error

type UnsupportedCodecError

type UnsupportedCodecError struct {
	Codec string
	Err   error
}

func (*UnsupportedCodecError) Error

func (e *UnsupportedCodecError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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