Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct { VC *discordgo.VoiceConnection // contains filtered or unexported fields }
Encoder is a discordgo voice encoder that can mix streams
func (*Encoder) HasFinishedAll ¶
HasFinishedAll returns true if all streams have no more audio to play
type InputStream ¶
type InputStream struct {
// contains filtered or unexported fields
}
InputStream is the type used to control an input file stream
func NewInputStream ¶
func NewInputStream(id uint64) *InputStream
NewInputStream gives a new InputStream for a given ID
func (*InputStream) HandleFile ¶
func (is *InputStream) HandleFile(path string)
HandleFile handles an a WAV file decoding
Click to show internal directories.
Click to hide internal directories.