audio

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAudio added in v1.4.1

func LoadAudio(f string, b *[][]byte) error

LoadAudio attempts to load an encoded sound file from disk.

func PlayAudio

func PlayAudio(vc *discordgo.VoiceConnection, b [][]byte)

PlaySound plays the current buffer to the provided channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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