Documentation ¶
Index ¶
- type Address
- type AddressList
- type Device
- func (d *Device) Clone() *Device
- func (d *Device) Compare(do *Device) int
- func (d *Device) Dump() string
- func (d *Device) Equal(do *Device) bool
- func (d *Device) GetEnabled() bool
- func (d *Device) GetMuted() bool
- func (d *Device) Hash() uint64
- func (d *Device) SetDefaults()
- func (d *Device) SetMuted(val bool)
- type DeviceDriver
- type DeviceMap
- type DeviceStatus
- type DeviceType
- type Event
- type EventType
- type Fec
- type Interface
- type Stream
- type StreamMap
- type StreamType
- type URI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type AddressList ¶
type AddressList []Address
func (*AddressList) At ¶
func (l *AddressList) At(index int) *Address
func (*AddressList) Clone ¶
func (l *AddressList) Clone() *AddressList
func (*AddressList) Compare ¶
func (l *AddressList) Compare(lo *AddressList) int
func (*AddressList) Equal ¶
func (l *AddressList) Equal(lo *AddressList) bool
func (*AddressList) Hash ¶
func (l *AddressList) Hash() uint64
func (*AddressList) Len ¶
func (l *AddressList) Len() int
func (*AddressList) Validate ¶
func (l *AddressList) Validate() error
type Device ¶
type Device struct { UID string `json:"device_uid" yaml:"uid"` SystemName string `json:"system_name" yaml:"system_name"` DisplayName string `json:"display_name" yaml:"display_name"` Type DeviceType `json:"type" yaml:"type"` Driver DeviceDriver `json:"driver" yaml:"driver"` IsHardware bool `json:"hardware_device" yaml:"hardware_device"` IsStream bool `json:"stream_device" yaml:"stream_device"` Status DeviceStatus `json:"status" yaml:"status"` IsMuted *bool `json:"muted" yaml:"muted"` ToAddress *AddressList `json:"to_address,omitempty" yaml:"to_address,omitempty"` FromAddress *AddressList `json:"from_address,omitempty" yaml:"from_address,omitempty"` NodeID string `json:"-" yaml:"node_id,omitempty"` ModuleID string `json:"-" yaml:"module_id,omitempty"` } // @name Device
func (*Device) GetEnabled ¶
func (*Device) SetDefaults ¶
func (d *Device) SetDefaults()
type DeviceDriver ¶
type DeviceDriver string // @name DeviceDriver
const ( DriverPipewire DeviceDriver = "pipewire" DriverPulseaudio DeviceDriver = "pulseaudio" )
type DeviceStatus ¶
type DeviceStatus string // @name DeviceStatus
const ( StatusDisabled DeviceStatus = "disabled" StatusEnabled DeviceStatus = "enabled" )
type DeviceType ¶
type DeviceType string // @name DeviceType
const ( Sink DeviceType = "sink" Source DeviceType = "source" )
type Event ¶
type Stream ¶
type Stream struct { UID string `json:"stream_uid" yaml:"uid"` Type StreamType `json:"type" yaml:"type"` FromDevice string `json:"from_device,omitempty" yaml:"from_device"` ToAddress AddressList `json:"to_address,omitempty" yaml:"to_address"` ToDevice string `json:"to_device,omitempty" yaml:"to_device"` FromAddress AddressList `json:"from_address,omitempty" yaml:"from_address"` } // @name Stream
type StreamType ¶
type StreamType string // @name StreamType
const ( SendStream StreamType = "send" RecvStream StreamType = "recv" )
Click to show internal directories.
Click to hide internal directories.