aboutsummaryrefslogtreecommitdiff
path: root/src/sfx/inc/sfx.h
blob: ea290d38854c47ca2aa2a0abdccacd1cff1ec0d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SFX_H
#define SFX_H

#include <sfx/port.h>
#include <stddef.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C"
{
#endif

int sfx_init(void);
int sfx_sound_from_fp(struct sound *s, FILE *f, size_t sz);
int sfx_play(const struct sound *s);
void sfx_free(struct sound *s);
void sfx_deinit(void);

#ifdef __cplusplus
}
#endif

#endif /* SFX_H */