Completed
Branch master (9b3c98)
by Rafael S.
03:30
created

index.d.ts   A

Complexity

Total Complexity 5
Complexity/F 1

Size

Lines of Code 13
Function Count 5

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 5
mnd 0
bc 0
fnc 5
bpm 0
cpm 1
noi 0

3 Functions

Rating   Name   Duplication   Size   Complexity  
A ➔ decodeBlock 0 2 1
A ➔ decode 0 2 1
A ➔ encodeBlock 0 2 1
1
// Type definitions for imaadpcm 4.0
2
// Project: https://github.com/rochars/imaadpcm
3
// Definitions by: Rafael S. Rocha <https://github.com/rochars>
4
// Definitions: https://github.com/rochars/imaadpcm
5
6
export function encode(samples: Int16Array): Uint8Array;
7
8
export function decode(samples: Uint8Array, blockAlign?: number): Int16Array;
9
10
export function encodeBlock(block: Array<number>): Array<number>;
11
12
export function decodeBlock(block: Array<number>): Array<number>;
13