You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
260 B
19 lines
260 B
#ifndef BLOCK_H
|
|
#define BLOCK_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define N 1024
|
|
|
|
typedef enum {LEFT = 0, RIGHT = 1} Channel;
|
|
|
|
typedef uint64_t Energy;
|
|
typedef int16_t Sample;
|
|
|
|
typedef struct {
|
|
Sample samples[N][2];
|
|
Energy instantEnergy;
|
|
} Block;
|
|
|
|
#endif /* BLOCK_H */
|
|
|
|
|