aboutsummaryrefslogtreecommitdiff
path: root/oscillo/oscillo.h
blob: 451f9f4457ecb7eb3ff429cb8ba184fd0168fda5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MYON_FMPLAYER_OSCILLO_H_INCLUDED
#define MYON_FMPLAYER_OSCILLO_H_INCLUDED

#include <stdint.h>

enum {
  OSCILLO_SAMPLE_COUNT = 8192,
  OSCILLO_OFFSET_SHIFT = 10,
};

struct oscillodata {
  int16_t buf[OSCILLO_SAMPLE_COUNT];
  unsigned offset;
  
};

#endif // MYON_FMPLAYER_OSCILLO_H_INCLUDED