pulseaudio

package
v0.0.0-...-069b4f3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SinkDevice represents devices used for audio output, e.g. headphones.
	SinkDevice deviceType = iota
	// SourceDevice represents devices used for audio input, e.g. microphones.
	SourceDevice
)

Variables

This section is empty.

Functions

func DefaultSink

func DefaultSink() volume.Provider

DefaultSink creates a PulseAudio volume module that follows the default sink.

func DefaultSource

func DefaultSource() volume.Provider

DefaultSource creates a PulseAudio volume module that follows the default source.

func Device

func Device(deviceName string, deviceType deviceType) volume.Provider

Device creates a PulseAduio volume module for a named device that can either be a sink or a source.

func Sink

func Sink(sinkName string) volume.Provider

Sink creates a PulseAudio volume module for a named sink.

func Source

func Source(sourceName string) volume.Provider

Source creates a PulseAudio volume module for a named source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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