pcm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intel2Motorala

func Intel2Motorala(data []byte) ([]byte, bool)

func JoinLeftAndRightChannels

func JoinLeftAndRightChannels(L []byte, R []byte) ([]byte, bool)

JoinLeftAndRightChannels Motorala pcm是大端序存储;Intel pcm是小端序存储

func Mono2Stereo

func Mono2Stereo(mono []byte) ([]byte, bool)

func Motorala2Intel

func Motorala2Intel(data []byte) ([]byte, bool)

func SplitChannels2LeftAndRight

func SplitChannels2LeftAndRight(data []byte) ([]byte, []byte, bool)

func Stereo2Mono_Intel

func Stereo2Mono_Intel(stereo []byte) ([]byte, bool)

Stereo2Mono_Intel 此方法支持Intel pcm格式

func Stereo2Mono_Motorala

func Stereo2Mono_Motorala(stereo []byte) ([]byte, bool)

Stereo2Mono_Motorala 此方法支持Motorala pcm格式

Types

This section is empty.

Jump to

Keyboard shortcuts

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