audio

package
v0.0.0-...-12667e7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceFromHash

func DeviceFromHash(deviceHash string) (*malgo.DeviceInfo, error)

func GetAudioDevices

func GetAudioDevices() ([]malgo.DeviceInfo, []malgo.DeviceInfo, error)

GetAudioDevices returns a list of all playback and capture devices.

func GetDefaultCaptureDevice

func GetDefaultCaptureDevice() (*malgo.DeviceInfo, error)

func GetDefaultPlaybackDevice

func GetDefaultPlaybackDevice() (*malgo.DeviceInfo, error)

func PlayWave

func PlayWave(deviceConfig malgo.DeviceConfig, buffer []byte) error

func PrettyPrintDevices

func PrettyPrintDevices()

Types

This section is empty.

Jump to

Keyboard shortcuts

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