Documentation
¶
Index ¶
- func AddFormat(format format.Format)
- func DoTest(ext string, locations []string, t *testing.T)
- func GetAnalyzerDecoder(name string) format.AnalyzerDecoder
- func GetDecoder(name string) format.Decoder
- func GetDecoders(r io.ReadSeekCloser, pathName string) (decoders []format.Decoder, err error)
- func GetEncoder(name string) format.Encoder
- func GetFormat(name string) format.Format
- func Open(r io.ReadSeekCloser, decoders []format.Decoder) (source audio.Source, err error)
- func OpenAnalyzer(r io.ReadSeekCloser, decoders []format.Decoder) (source audio.Source, analyzerChannel format.AnalyzerChannel, err error)
- type NullFormat
- func (f NullFormat) DecoderDescription() string
- func (f NullFormat) Encode(audio.Source, io.WriteCloser, map[string]interface{}) error
- func (f NullFormat) EncoderDescription() string
- func (f NullFormat) Identify([format.IdentifyPeekBytes]byte, string) bool
- func (f NullFormat) Name() string
- func (f NullFormat) Open(io.ReadSeekCloser) (audio.Source, error)
- func (f NullFormat) OpenAnalyzer(io.ReadSeekCloser) (audio.Source, format.AnalyzerChannel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnalyzerDecoder ¶
func GetAnalyzerDecoder(name string) format.AnalyzerDecoder
func GetDecoder ¶
func GetDecoders ¶
func GetEncoder ¶
func OpenAnalyzer ¶
func OpenAnalyzer(r io.ReadSeekCloser, decoders []format.Decoder) (source audio.Source, analyzerChannel format.AnalyzerChannel, err error)
Types ¶
type NullFormat ¶
type NullFormat struct {
// contains filtered or unexported fields
}
func (NullFormat) DecoderDescription ¶
func (f NullFormat) DecoderDescription() string
func (NullFormat) Encode ¶
func (f NullFormat) Encode(audio.Source, io.WriteCloser, map[string]interface{}) error
func (NullFormat) EncoderDescription ¶
func (f NullFormat) EncoderDescription() string
func (NullFormat) Identify ¶
func (f NullFormat) Identify([format.IdentifyPeekBytes]byte, string) bool
func (NullFormat) Name ¶
func (f NullFormat) Name() string
func (NullFormat) Open ¶
func (f NullFormat) Open(io.ReadSeekCloser) (audio.Source, error)
func (NullFormat) OpenAnalyzer ¶
func (f NullFormat) OpenAnalyzer(io.ReadSeekCloser) (audio.Source, format.AnalyzerChannel, error)
Click to show internal directories.
Click to hide internal directories.