diff options
Diffstat (limited to 'oscillo')
| -rw-r--r-- | oscillo/oscillo.h | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/oscillo/oscillo.h b/oscillo/oscillo.h new file mode 100644 index 0000000..451f9f4 --- /dev/null +++ b/oscillo/oscillo.h @@ -0,0 +1,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 | 
