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() (int64, int, int)
- func (d *FlacDecoder) GetResolvedState() string
- func (d *FlacDecoder) OpenFile(filePath string) error
- func (d *FlacDecoder) Seek(offset int64, whence int) (int64, error)
- func (d *FlacDecoder) TellCurrentSample() int64
- func (d *FlacDecoder) TotalSamples() int64
- type RingBuffer
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) OpenFile ¶
func (d *FlacDecoder) OpenFile(filePath string) error
func (*FlacDecoder) TellCurrentSample ¶
func (d *FlacDecoder) TellCurrentSample() int64
func (*FlacDecoder) TotalSamples ¶
func (d *FlacDecoder) TotalSamples() int64
type RingBuffer ¶
type RingBuffer struct {
// contains filtered or unexported fields
}
func NewRingBuffer ¶
func NewRingBuffer(capacity int) RingBuffer
func (*RingBuffer) Capacity ¶
func (rb *RingBuffer) Capacity() int
func (*RingBuffer) Reset ¶
func (rb *RingBuffer) Reset()
func (*RingBuffer) Size ¶
func (rb *RingBuffer) Size() int
Click to show internal directories.
Click to hide internal directories.