output

package
v0.0.0-...-2889c3b Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultOutputDeviceName is the default device name
	DefaultOutputDeviceName = "none"
)

Functions

func CreateOutputDevice

func CreateOutputDevice(settings deviceCommon.Settings) (device.Device, error)

CreateOutputDevice creates an output device based on the provided settings

func GetOutputDevices

func GetOutputDevices() map[string]DeviceInfo

func Setup

func Setup()

Setup finalizes the output device preference system

Types

type DeviceInfo

type DeviceInfo struct {
	Priority int
	Kind     deviceCommon.Kind
}

DeviceInfo returns information about a device

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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