Documentation ¶
Index ¶
- func BytesToInt32(data []byte, bitDepth int) (buf []int32)
- func Float32ToBytes(data []float32) (buf []byte)
- func Float32ToInt16(data []float32) (buf []int16)
- func Float32ToInt24(data []float32) (buf []byte)
- func Float32ToInt32(data []float32, bitDepth int) (buf []int32)
- func Float32ToInt8(data []float32) (buf []int8)
- func Int16ToBytes(data []int16) (buf []byte)
- func Int16ToFloat32(data []int16, bitDepth int) (buf []float32)
- func Int16ToInt32(data []int32, bitDepth int) (buf []int16)
- func Int24ToFloat32(data []byte, bitDepth int) (buf []float32)
- func Int32ToBytes(data []int32, bitDepth int) (buf []byte)
- func Int32ToFloat32(data []int32, bitDepth int) (buf []float32)
- func Int32ToInt16(data []int32, bitDepth int) (buf []int16)
- func Int8ToBytes(data []int8) (buf []byte)
- func Int8ToFloat32(data []int8, bitDepth int) (buf []float32)
- func MultipleChannelsToMonoFloat32(buffer []float32, channels int) (buf []float32)
- func MultipleChannelsToMonoInt32(buffer []int32, channels int) (buf []int32)
- func MultipleChannelsToStereoFloat32(buffer []float32, channels int) (buf []float32)
- func MultipleChannelsToStereoInt32(buffer []int32, channels int) (buf []int32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt32 ¶
func Float32ToBytes ¶
func Float32ToInt16 ¶
func Float32ToInt24 ¶
func Float32ToInt32 ¶
func Float32ToInt8 ¶
func Int16ToBytes ¶
func Int16ToFloat32 ¶
func Int16ToInt32 ¶
func Int24ToFloat32 ¶
Int24ToFloat32 special case
func Int32ToBytes ¶
func Int32ToFloat32 ¶
func Int32ToInt16 ¶
func Int8ToBytes ¶
func Int8ToFloat32 ¶
func MultipleChannelsToMonoFloat32 ¶
MultipleChannelsToMonoFloat32 bring any number of channels to mono, equally weighted
func MultipleChannelsToMonoInt32 ¶
MultipleChannelsToMonoInt32 bring any number of channels to mono, equally weighted
func MultipleChannelsToStereoFloat32 ¶
MultipleChannelsToStereoFloat32 bring any number of channels to stereo, using downmix formulas when necessary
func MultipleChannelsToStereoInt32 ¶
MultipleChannelsToStereoInt32 bring any number of channels to stereo, using downmix formulas when necessary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.