chromaprint

package
v1.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

This package provides chromaprint audio fingerprinting bindings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Types

type AlgorithmType

type AlgorithmType C.int

func (AlgorithmType) String

func (a AlgorithmType) String() string

type Context

type Context C.ChromaprintContext

func NewChromaprint

func NewChromaprint(algorithm AlgorithmType) *Context

func (*Context) Channels

func (context *Context) Channels() int

func (*Context) Delay

func (context *Context) Delay() int

func (*Context) DelayMs

func (context *Context) DelayMs() time.Duration

func (*Context) Duration

func (context *Context) Duration() int

func (*Context) DurationMs

func (context *Context) DurationMs() time.Duration

func (*Context) Finish

func (context *Context) Finish() error

func (*Context) Free

func (context *Context) Free()

func (*Context) GetFingerprint

func (context *Context) GetFingerprint() (string, error)

func (*Context) Rate

func (context *Context) Rate() int

func (*Context) Start

func (context *Context) Start(rate, channels int) error

func (*Context) String

func (context *Context) String() string

func (*Context) Write

func (context *Context) Write(data []byte) error

func (*Context) WritePtr added in v1.6.1

func (context *Context) WritePtr(data uintptr, size int) error

type Error

type Error int

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL