sampling

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: AGPL-3.0 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

Resample 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

Resample 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