mp3

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mp3 provides functionality to handle .mp3 files and .mp3 encoded data.

This package may be imported solely to register mp3s as a parseable file type within oak:

import (
    _ "github.com/oakmound/oak/v4/audio/format/mp3"
)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(r io.Reader) (pcm.Reader, error)

Load reads MP3 data from a reader, parsing it's PCM format and returning a pcm Reader for the data contained within. It will error if the reader does not contain enough data to fill a file header. The resulting format will always be 16 bits and 2 channels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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