g711

package
v0.0.0-...-79eae96 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlawToLinear

func AlawToLinear(a_val uint8) int16

Convert an A-law value to 16-bit linear PCM

func AlawToUlaw

func AlawToUlaw(aval uint8) uint8

A-law to U-law conversion

func LinearToAlaw

func LinearToAlaw(pcm_val int16) uint8

2's complement (16-bit range)

func LinearToUlaw

func LinearToUlaw(pcm_val int16) uint8

func UlawToAlaw

func UlawToAlaw(uval uint8) uint8

U-law to A-law conversion

func UlawToLinear

func UlawToLinear(u_val uint8) int16

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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