Documentation ¶
Index ¶
Constants ¶
View Source
const ErrUnsupportedTranscoding = "unsupported transcoding by formats" // ErrUnsupportedConversion is the error message for unsupported conversions
Variables ¶
View Source
var ( WIDTH_TERMINAL = 80 HEIGHT_TERMINAL = 30 )
Default terminal size
Functions ¶
Types ¶
type AudioConfig ¶
type AudioConfig struct { Encoding int // the encoding format (e.g. "UNSIGNED", "SIGNED", "FLOAT", "PCM", "IEEE_FLOAT", "MULAW") Endianness int // the endianness of the audio data (e.g. "BIG", "LITTLE") }
AudioConfig is a struct that contains the configuration of the source and target audio files or streams.
type AudioFileGeneral ¶
type AudioFileGeneral struct { File *os.File // the audio file Format string // the audio file format (e.g. "mp3", "ogg", "wav", etc.) Length int // the length of the audio in seconds Config interface{} // the specific configuration options for the audio file format }
AudioFileGeneral is a struct that contains general information about the audio file or stream.
func (*AudioFileGeneral) NewConfig ¶
func (a *AudioFileGeneral) NewConfig(config interface{})
Click to show internal directories.
Click to hide internal directories.