Documentation
¶
Overview ¶
This package provides chromaprint audio fingerprinting bindings
Index ¶
- func Version() string
- type AlgorithmType
- type Context
- func (context *Context) Channels() int
- func (context *Context) Delay() int
- func (context *Context) DelayMs() time.Duration
- func (context *Context) Duration() int
- func (context *Context) DurationMs() time.Duration
- func (context *Context) Finish() error
- func (context *Context) Free()
- func (context *Context) GetFingerprint() (string, error)
- func (context *Context) Rate() int
- func (context *Context) Start(rate, channels int) error
- func (context *Context) String() string
- func (context *Context) Write(data []byte) error
- func (context *Context) WritePtr(data uintptr, size int) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlgorithmType ¶
const ( ALGORITHM_TEST1 AlgorithmType = C.CHROMAPRINT_ALGORITHM_TEST1 ALGORITHM_TEST2 AlgorithmType = C.CHROMAPRINT_ALGORITHM_TEST2 ALGORITHM_TEST3 AlgorithmType = C.CHROMAPRINT_ALGORITHM_TEST3 ALGORITHM_TEST4 AlgorithmType = C.CHROMAPRINT_ALGORITHM_TEST4 ALGORITHM_DEFAULT AlgorithmType = C.CHROMAPRINT_ALGORITHM_DEFAULT )
func (AlgorithmType) String ¶
func (a AlgorithmType) String() string
type Context ¶
type Context C.ChromaprintContext
func NewChromaprint ¶
func NewChromaprint(algorithm AlgorithmType) *Context
func (*Context) DurationMs ¶
func (*Context) GetFingerprint ¶
Click to show internal directories.
Click to hide internal directories.