aboutsummaryrefslogtreecommitdiff
path: root/common/fmplayer_common.h
blob: c4f58af9aa3e4749c4569e2567da2d8f15f0bfb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MYON_FMPLAYER_COMMON_H_INCLUDED
#define MYON_FMPLAYER_COMMON_H_INCLUDED

#include <stddef.h>
#include <stdbool.h>

void *fmplayer_load_data(const char *name, size_t size);

struct fmdriver_work;
struct ppz8;
struct opna;
struct opna_timer;
void fmplayer_init_work_opna(
  struct fmdriver_work *work,
  struct ppz8 *ppz8,
  struct opna *opna,
  struct opna_timer *timer,
  void *adpcm_ram
);

struct opna_drum;
bool fmplayer_drum_rom_load(struct opna_drum *drum);
bool fmplayer_drum_loaded(void);

#endif // MYON_FMPLAYER_COMMON_H_INCLUDED