Passed
Push — master ( 8d3d43...11cdea )
by Rafael S.
01:29
created

src/wave-errors.js   A

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 10
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 0
c 1
b 0
f 0
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 10
rs 10
bpm 0
cpm 0
noi 0
1
/*!
2
 * wavefile
3
 * Read & write wave files with 8, 16, 24, 32 & 64-bit data.
4
 * Copyright (c) 2017 Rafael da Silva Rocha.
5
 * https://github.com/rochars/wavefile
6
 *
7
 */
8
9
/**
10
 * Error messages.
11
 * @enum {string}
12
 */
13
module.exports =  {
14
    "format": "Not a supported format.",
15
    "wave": "Could not find the 'WAVE' format identifier",
16
    "fmt ": "Could not find the 'fmt ' chunk",
17
    "data": "Could not find the 'data' chunk",
18
    "fact": "Could not find the 'fact' chunk",
19
    "bitDepth": "Invalid bit depth.",
20
    "numChannels": "Invalid number of channels.",
21
    "sampleRate": "Invalid sample rate."
22
};