diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-07-03 00:49:03 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-03-30 08:20:20 +0200 |
| commit | 8c10334252821b6310cf744218f7ad8bed7917f2 (patch) | |
| tree | f6f11d71eac56fa834783ef54a977b80f2e5efc2 /src/sfx/inc | |
| parent | fc9beffe0103a80bf883f85b7ae09dc42b7af50e (diff) | |
| download | rts-8c10334252821b6310cf744218f7ad8bed7917f2.tar.gz | |
Add project source code
Diffstat (limited to 'src/sfx/inc')
| -rw-r--r-- | src/sfx/inc/sfx.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sfx/inc/sfx.h b/src/sfx/inc/sfx.h new file mode 100644 index 0000000..b8fe44f --- /dev/null +++ b/src/sfx/inc/sfx.h @@ -0,0 +1,22 @@ +#ifndef SFX_H +#define SFX_H + +#include <sfx/port.h> +#include <stdio.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +int sfx_init(void); +int sfx_sound_from_fp(struct sound *s, FILE *f); +int sfx_play(const struct sound *s); +void sfx_free(struct sound *s); +void sfx_deinit(void); + +#ifdef __cplusplus +} +#endif + +#endif /* SFX_H */ |
