1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*! @file format-pcm.h */
#ifndef FORMAT_PCM_H
#define FORMAT_PCM_H
#include "emb-pattern.h"
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
extern EMB_PRIVATE int EMB_CALL readPcm(EmbPattern* pattern, const char* fileName);
extern EMB_PRIVATE int EMB_CALL writePcm(EmbPattern* pattern, const char* fileName);
static const int pcmThreadCount = 65;
static const EmbThread pcmThreads[] = {
{{0x00, 0x00, 0x00}, "PCM Color 1", ""},
{{0x00, 0x00, 0x80}, "PCM Color 2", ""},
{{0x00, 0x00, 0xFF}, "PCM Color 3", ""},
{{0x00, 0x80, 0x80}, "PCM Color 4", ""},
{{0x00, 0xFF, 0xFF}, "PCM Color 5", ""},
{{0x80, 0x00, 0x80}, "PCM Color 6", ""},
{{0xFF, 0x00, 0xFF}, "PCM Color 7", ""},
{{0x80, 0x00, 0x00}, "PCM Color 8", ""},
{{0xFF, 0x00, 0x00}, "PCM Color 9", ""},
{{0x00, 0x80, 0x00}, "PCM Color 10", ""},
{{0x00, 0xFF, 0x00}, "PCM Color 11", ""},
{{0x80, 0x80, 0x00}, "PCM Color 12", ""},
{{0xFF, 0xFF, 0x00}, "PCM Color 13", ""},
{{0x80, 0x80, 0x80}, "PCM Color 14", ""},
{{0xC0, 0xC0, 0xC0}, "PCM Color 15", ""},
{{0xFF, 0xFF, 0xFF}, "PCM Color 16", ""}};
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include "api-stop.h"
#endif /* FORMAT_PCM_H */
/* kate: bom off; indent-mode cstyle; indent-width 4; replace-trailing-space-save on; */
|