audio

package
v0.0.0-...-7f9f1c8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name     string   `json:"name"`
	Index    uint32   `json:"index"`
	Sessions Sessions `json:"sessions,omitempty"`
}

func (Device) HasSession

func (this Device) HasSession() bool

func (Device) String

func (this Device) String() string

type Devices

type Devices []Device

func (Devices) HasContent

func (this Devices) HasContent() bool

func (Devices) HasSession

func (this Devices) HasSession() bool

func (Devices) IsZero

func (this Devices) IsZero() bool

type Session

type Session struct {
	HolderPid uint32 `json:"pid,omitempty"`
}

type Sessions

type Sessions []Session

func (Sessions) HasContent

func (this Sessions) HasContent() bool

func (Sessions) IsZero

func (this Sessions) IsZero() bool

type Stack

type Stack struct{}

func (*Stack) Dispose

func (this *Stack) Dispose() error

func (*Stack) FindDevices

func (this *Stack) FindDevices() (Devices, error)

func (*Stack) Initialize

func (this *Stack) Initialize() error

func (*Stack) SetupConfiguration

func (this *Stack) SetupConfiguration(_ common.FlagHolder)

Jump to

Keyboard shortcuts

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