vector

package
v0.0.0-...-69b8586 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInt32

func BytesToInt32(data []byte, bitDepth int) (buf []int32)

func Float32ToBytes

func Float32ToBytes(data []float32) (buf []byte)

func Float32ToInt16

func Float32ToInt16(data []float32) (buf []int16)

func Float32ToInt24

func Float32ToInt24(data []float32) (buf []byte)

func Float32ToInt32

func Float32ToInt32(data []float32, bitDepth int) (buf []int32)

func Float32ToInt8

func Float32ToInt8(data []float32) (buf []int8)

func Int16ToBytes

func Int16ToBytes(data []int16) (buf []byte)

func Int16ToFloat32

func Int16ToFloat32(data []int16, bitDepth int) (buf []float32)

func Int16ToInt32

func Int16ToInt32(data []int32, bitDepth int) (buf []int16)

func Int24ToFloat32

func Int24ToFloat32(data []byte, bitDepth int) (buf []float32)

Int24ToFloat32 special case

func Int32ToBytes

func Int32ToBytes(data []int32, bitDepth int) (buf []byte)

func Int32ToFloat32

func Int32ToFloat32(data []int32, bitDepth int) (buf []float32)

func Int32ToInt16

func Int32ToInt16(data []int32, bitDepth int) (buf []int16)

func Int8ToBytes

func Int8ToBytes(data []int8) (buf []byte)

func Int8ToFloat32

func Int8ToFloat32(data []int8, bitDepth int) (buf []float32)

func MultipleChannelsToMonoFloat32

func MultipleChannelsToMonoFloat32(buffer []float32, channels int) (buf []float32)

MultipleChannelsToMonoFloat32 bring any number of channels to mono, equally weighted

func MultipleChannelsToMonoInt32

func MultipleChannelsToMonoInt32(buffer []int32, channels int) (buf []int32)

MultipleChannelsToMonoInt32 bring any number of channels to mono, equally weighted

func MultipleChannelsToStereoFloat32

func MultipleChannelsToStereoFloat32(buffer []float32, channels int) (buf []float32)

MultipleChannelsToStereoFloat32 bring any number of channels to stereo, using downmix formulas when necessary

func MultipleChannelsToStereoInt32

func MultipleChannelsToStereoInt32(buffer []int32, channels int) (buf []int32)

MultipleChannelsToStereoInt32 bring any number of channels to stereo, using downmix formulas when necessary

Types

This section is empty.

Jump to

Keyboard shortcuts

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