Documentation ¶
Index ¶
- type DeviceManager
- func (dm *DeviceManager) CreateStreamDevice(device *models.Device) (*models.Device, error)
- func (dm *DeviceManager) DeleteStreamDevice(uid string) error
- func (dm *DeviceManager) GetDevice(uid string) (*models.Device, error)
- func (dm *DeviceManager) GetStreamDevice(uid string) (*models.Device, error)
- func (dm *DeviceManager) ListDevices() ([]*models.Device, error)
- func (dm *DeviceManager) ListStreamDevices() ([]*models.Device, error)
- func (dm *DeviceManager) UpdateDevice(uid string, device *models.Device) (*models.Device, error)
- func (dm *DeviceManager) UpdateStreamDevice(uid string, device *models.Device) (*models.Device, error)
- type PipewireBackend
- type PulseaudioBackend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceManager ¶
type DeviceManager struct {
// contains filtered or unexported fields
}
func NewDeviceManager ¶
func NewDeviceManager( store *store.PersistStore, edisp *events.EventDispatcher, ) (*DeviceManager, error)
func (*DeviceManager) CreateStreamDevice ¶
func (*DeviceManager) DeleteStreamDevice ¶
func (dm *DeviceManager) DeleteStreamDevice(uid string) error
func (*DeviceManager) GetDevice ¶
func (dm *DeviceManager) GetDevice(uid string) (*models.Device, error)
func (*DeviceManager) GetStreamDevice ¶
func (dm *DeviceManager) GetStreamDevice(uid string) (*models.Device, error)
func (*DeviceManager) ListDevices ¶
func (dm *DeviceManager) ListDevices() ([]*models.Device, error)
func (*DeviceManager) ListStreamDevices ¶
func (dm *DeviceManager) ListStreamDevices() ([]*models.Device, error)
func (*DeviceManager) UpdateDevice ¶
func (*DeviceManager) UpdateStreamDevice ¶
type PipewireBackend ¶
type PipewireBackend struct {
// contains filtered or unexported fields
}
type PulseaudioBackend ¶
type PulseaudioBackend struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.