aboutsummaryrefslogtreecommitdiff
path: root/win32/oscilloview.h
blob: 8849830435f142db23c4e2e6eb577ddd2da92b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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 show_oscilloview(HINSTANCE hinst, HWND parent);

#endif // MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED