devices

package
v0.0.0-...-074f972 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

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 (dm *DeviceManager) CreateStreamDevice(device *models.Device) (*models.Device, error)

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 (dm *DeviceManager) UpdateDevice(uid string, device *models.Device) (*models.Device, error)

func (*DeviceManager) UpdateStreamDevice

func (dm *DeviceManager) UpdateStreamDevice(
	uid string, device *models.Device,
) (*models.Device, error)

type PipewireBackend

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

type PulseaudioBackend

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

Jump to

Keyboard shortcuts

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