adpcm

package module
v0.0.0-...-2274d52 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 3 Imported by: 0

README

adpcm

GoDoc

This package implements decoding and encoding of IMA ADPCM encoded data.

License

This project is licensed under the terms of the MIT license.

Upload notice

This project was originally created by bovarysme, but for some unknown reason, the repository was removed. Because the project was released under the MIT license, I have re-uploaded it due to its usage in another project of mine, go-ppm.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(in []int, out *[]byte)

Types

type Decoder

type Decoder struct {
	NumChannels int
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(numChannels int) *Decoder

func (*Decoder) Decode

func (decoder *Decoder) Decode(in []byte, out *[]int)

type Status

type Status struct {
	// contains filtered or unexported fields
}

func NewStatus

func NewStatus() *Status

func (*Status) Decode

func (status *Status) Decode(nibble byte) int

func (*Status) Encode

func (status *Status) Encode(sample int) byte

Jump to

Keyboard shortcuts

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