format

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: 3 Imported by: 0

Documentation

Overview

Package format provides audio file and format parsers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(extension string, fn Loader)

Register registers a format by file extension (eg '.mp3') with its parsing function.

Types

type Loader

type Loader func(r io.Reader) (pcm.Reader, error)

A Loader can parse the data from an io.Reader and convert it into PCM encoded audio data with a known format.

func LoaderForExtension

func LoaderForExtension(extension string) (Loader, bool)

LoaderForExtension returns a previously registered loader.

Directories

Path Synopsis
Package ceol provides functionality to handle .ceol files and .ceol encoded data (Bosca Ceoil files).
Package ceol provides functionality to handle .ceol files and .ceol encoded data (Bosca Ceoil files).
Package dls contains data structures for DLS (.dls) file types.
Package dls contains data structures for DLS (.dls) file types.
Package flac provides functionality to handle .flac files and .flac encoded data.
Package flac provides functionality to handle .flac files and .flac encoded data.
Package mp3 provides functionality to handle .mp3 files and .mp3 encoded data.
Package mp3 provides functionality to handle .mp3 files and .mp3 encoded data.
Package riff reads and umarshalls RIFF files.
Package riff reads and umarshalls RIFF files.
Package wav provides functionality to handle .wav files and .wav encoded data.
Package wav provides functionality to handle .wav files and .wav encoded data.

Jump to

Keyboard shortcuts

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