aboutsummaryrefslogtreecommitdiff
path: root/win32/oscilloview.h
blob: 00d2e601d533c2f48a6eb53053e0919e2ebf95b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED
#define MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED

#include "libopna/opna.h"
#include "oscillo/oscillo.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdatomic.h>

extern struct oscilloview {
  atomic_flag flag;
  struct oscillodata oscillodata[LIBOPNA_OSCILLO_TRACK_COUNT];
} oscilloview_g;

void oscilloview_open(HINSTANCE hinst, HWND parent, void (*closecb)(void *ptr), void *cbptr);
void oscilloview_close(void);

#endif // MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED