transcoders

package
v0.0.0-...-cab0b4b Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTranscoder

func NewTranscoder(input io.Reader, codec CodecType) (io.Reader, error)

Types

type CodecType

type CodecType uint8
const (
	MP3 CodecType = iota
	VORBIS
)

func (*CodecType) Extension

func (c *CodecType) Extension() string

func (*CodecType) String

func (c *CodecType) String() string

type Transcoder

type Transcoder struct {
	// contains filtered or unexported fields
}

func (*Transcoder) Read

func (t *Transcoder) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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