Documentation ¶
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 stream.
func Decode ¶
func Decode(src convert.ReadSeekCloser, sr int) (*Stream, error)
Decode decodes MP3 source and returns a decoded stream.
Decode returns error when decoding fails or IO error happens.
Decode automatically resamples the stream to fit with the audio context if necessary.
Click to show internal directories.
Click to hide internal directories.