Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStreamSeeker ¶
Types ¶
type Buffers ¶
type Buffers struct {
// contains filtered or unexported fields
}
func (*Buffers) GetStreamSeeker ¶
func (h *Buffers) GetStreamSeeker(path string) (beep.StreamSeeker, error)
GetStreamSeeker returns a StreamSeeker from a buffer.
func (*Buffers) Load ¶
Load loads audio files from paths into a buffer. Calling this method with files already loaded takes no action. This method only supports loading mp3 files, though it's not hard to add more audio formats.
func (*Buffers) Release ¶
Release frees audio files' memory from buffer. Calling this method with a track already released takes no action.
func (*Buffers) ReleaseAll ¶
func (h *Buffers) ReleaseAll()
ReleaseAll frees all audio files' memory from buffer.
Click to show internal directories.
Click to hide internal directories.