Documentation ¶
Index ¶
- func GetVersion() string
- type FlacDecoder
- func (d *FlacDecoder) Close() error
- func (d *FlacDecoder) DecodeSamples(samples int, audio []byte) (int, error)
- func (d *FlacDecoder) Delete() error
- func (d *FlacDecoder) GetFormat() (int, int, int)
- func (d *FlacDecoder) GetResolvedState() string
- func (d *FlacDecoder) Open(filePath string) error
- func (d *FlacDecoder) Seek(offset int64, whence int) (int64, error)
- func (d *FlacDecoder) TellCurrentSample() int64
- func (d *FlacDecoder) TotalSamples() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion() string
Types ¶
type FlacDecoder ¶
type FlacDecoder struct {
// contains filtered or unexported fields
}
func NewFlacFrameDecoder ¶
func NewFlacFrameDecoder(maxOutputSampleBitDepth int) (*FlacDecoder, error)
func (*FlacDecoder) Close ¶
func (d *FlacDecoder) Close() error
func (*FlacDecoder) DecodeSamples ¶
func (d *FlacDecoder) DecodeSamples(samples int, audio []byte) (int, error)
func (*FlacDecoder) Delete ¶
func (d *FlacDecoder) Delete() error
func (*FlacDecoder) GetResolvedState ¶
func (d *FlacDecoder) GetResolvedState() string
func (*FlacDecoder) Open ¶
func (d *FlacDecoder) Open(filePath string) error
func (*FlacDecoder) TellCurrentSample ¶
func (d *FlacDecoder) TellCurrentSample() int64
func (*FlacDecoder) TotalSamples ¶
func (d *FlacDecoder) TotalSamples() int64
Click to show internal directories.
Click to hide internal directories.