Documentation ¶
Overview ¶
Package vorbis provides Ogg/Vorbis decoder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream is a decoded audio stream.
func Decode ¶
Decode decodes Ogg/Vorbis data to playable stream.
Decode returns error when decoding fails or IO error happens.
Decode automatically resamples the stream to fit with the audio context if necessary.
A Stream doesn't close src even if src implements io.Closer. Closing the source is src owner's responsibility.
Click to show internal directories.
Click to hide internal directories.