mp3

package
Version: v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mp3 implements audio data decoding in MP3 format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(rc io.ReadCloser) (s beep.StreamSeekCloser, format beep.Format, err error)

Decode takes a ReadCloser containing audio data in MP3 format and returns a StreamSeekCloser, which streams that audio. The Seek method will panic if rc is not io.Seeker.

Do not close the supplied ReadSeekCloser, instead, use the Close method of the returned StreamSeekCloser when you want to release the resources.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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