Documentation
¶
Overview ¶
By default the package builds as a stub. To link Xiph librnnoise, use
go build -tags rnnoise
with CGO enabled and rnnoise headers/libs installed (see README.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrUnavailable is returned by stub builds and by New() when the library cannot be used. Real CGO builds never return this from New() on success; it remains defined so callers can use errors.Is(err, rnnoise.ErrUnavailable) regardless of build tags.
Functions ¶
func FrameSamples ¶
func FrameSamples() int
FrameSamples matches the Xiph RNNoise default when the library is not linked.
Types ¶
Click to show internal directories.
Click to hide internal directories.