sound

package
v0.0.0-...-51c700d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SoundConfig

type SoundConfig struct {
	SoundTriggers []*common.Trigger
	// contains filtered or unexported fields
}

func NewSoundTrigger

func NewSoundTrigger(channels common.Channels, guiButtons chan common.ALight, eventsForLaunchpad chan common.ALight) *SoundConfig

func (*SoundConfig) DisableSoundTrigger

func (soundConfig *SoundConfig) DisableSoundTrigger(name string) error

DisableSoundTrigger - Disable the Trigger.

func (*SoundConfig) EnableSoundTrigger

func (soundConfig *SoundConfig) EnableSoundTrigger(name string) error

EnableSoundTrigger - Register the Trigger.

func (*SoundConfig) GetDeviceName

func (soundConfig *SoundConfig) GetDeviceName() string

func (*SoundConfig) GetSoundConfig

func (soundConfig *SoundConfig) GetSoundConfig() []string

func (*SoundConfig) GetSoundTriggerState

func (soundConfig *SoundConfig) GetSoundTriggerState(name string) bool

GetSoundTriggerState - What state is this trigger in ?

func (*SoundConfig) StartSoundConfig

func (soundConfig *SoundConfig) StartSoundConfig(deviceName string, guiButtons chan common.ALight, eventsForLaunchpad chan common.ALight)

func (*SoundConfig) StopSoundConfig

func (soundConfig *SoundConfig) StopSoundConfig()

Jump to

Keyboard shortcuts

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