Documentation ¶
Index ¶
- func InitObs(in chan interface{}, out chan interface{})
- type ChangeSet
- type Channel
- type ChannelList
- func (l *ChannelList) AddChannel(name string)
- func (l *ChannelList) AddInput(inputName string)
- func (l *ChannelList) ChangeFaderBank(amount int)
- func (l *ChannelList) Clear()
- func (l *ChannelList) GetDelayMS(name string) float64
- func (l *ChannelList) GetMonitorType(name string) string
- func (l *ChannelList) GetVisible() []Channel
- func (l *ChannelList) GetVisibleName(index byte) string
- func (l *ChannelList) GetVisibleNumber(name string) int
- func (l *ChannelList) RemoveChannel(name string)
- func (l *ChannelList) SetAllInvisible()
- func (l *ChannelList) SetDelayMS(name string, delay float64)
- func (l *ChannelList) SetMonitorType(name string, mon string)
- func (l *ChannelList) SetMuted(name string, muted bool)
- func (l *ChannelList) SetPan(name string, pan float64)
- func (l *ChannelList) SetTracks(name string, tracksEnabled map[int]bool)
- func (l *ChannelList) SetVisible(name string, visible bool)
- func (l *ChannelList) SetVolume(name string, volume float64)
- func (l *ChannelList) SyncMcu()
- func (l *ChannelList) UpdateSpecialInputs() error
- func (l *ChannelList) UpdateVisible()
- type ObsState
- type ObsStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelList ¶
type ChannelList struct { FirstChannel int // contains filtered or unexported fields }
func NewChannelList ¶
func NewChannelList() *ChannelList
func (*ChannelList) AddChannel ¶
func (l *ChannelList) AddChannel(name string)
func (*ChannelList) AddInput ¶
func (l *ChannelList) AddInput(inputName string)
adds an input and gets the basic info (mute state, volume etc)
func (*ChannelList) ChangeFaderBank ¶
func (l *ChannelList) ChangeFaderBank(amount int)
func (*ChannelList) Clear ¶
func (l *ChannelList) Clear()
func (*ChannelList) GetDelayMS ¶ added in v0.2.0
func (l *ChannelList) GetDelayMS(name string) float64
func (*ChannelList) GetMonitorType ¶
func (l *ChannelList) GetMonitorType(name string) string
func (*ChannelList) GetVisible ¶
func (l *ChannelList) GetVisible() []Channel
create alphabetically sorted list of visible channels
func (*ChannelList) GetVisibleName ¶
func (l *ChannelList) GetVisibleName(index byte) string
func (*ChannelList) GetVisibleNumber ¶
func (l *ChannelList) GetVisibleNumber(name string) int
func (*ChannelList) RemoveChannel ¶
func (l *ChannelList) RemoveChannel(name string)
func (*ChannelList) SetAllInvisible ¶
func (l *ChannelList) SetAllInvisible()
func (*ChannelList) SetDelayMS ¶ added in v0.2.0
func (l *ChannelList) SetDelayMS(name string, delay float64)
func (*ChannelList) SetMonitorType ¶
func (l *ChannelList) SetMonitorType(name string, mon string)
func (*ChannelList) SetMuted ¶
func (l *ChannelList) SetMuted(name string, muted bool)
func (*ChannelList) SetPan ¶
func (l *ChannelList) SetPan(name string, pan float64)
func (*ChannelList) SetTracks ¶
func (l *ChannelList) SetTracks(name string, tracksEnabled map[int]bool)
func (*ChannelList) SetVisible ¶
func (l *ChannelList) SetVisible(name string, visible bool)
func (*ChannelList) SetVolume ¶
func (l *ChannelList) SetVolume(name string, volume float64)
func (*ChannelList) SyncMcu ¶
func (l *ChannelList) SyncMcu()
func (*ChannelList) UpdateSpecialInputs ¶
func (l *ChannelList) UpdateSpecialInputs() error
TODO: check for changes
func (*ChannelList) UpdateVisible ¶
func (l *ChannelList) UpdateVisible()
TODO: other way to get active ones initially?
type ObsStates ¶ added in v0.2.4
type ObsStates struct {
// contains filtered or unexported fields
}
func NewObsStates ¶ added in v0.2.4
func NewObsStates() *ObsStates
func (*ObsStates) DeleteState ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.