sampling

package
v0.0.0-...-90a1d6d Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: AGPL-3.0, AGPL-3.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResampleBytes

func ResampleBytes(data []byte, bitsPerSample int) []uint32

ResampleBytes resamples the raw data which is in 8-bit (byte) format as a different bit count per sample, up to 32 bits (uint32).

func ResampleUint32

func ResampleUint32(data []uint32, bitsPerInputSample int, bitsPerOutputSample int) []uint32

ResampleUint32 resamples the raw data which is in <=32-bit (uint32) format as a different bit count per sample, up to 32 bits (uint32).

bitsPerOutputSample is the number of bits for each output sample (up to 32) bitsPerInputSample is the number of bits used in each input sample (up to 32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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