aboutsummaryrefslogtreecommitdiff
path: root/src/sfx/inc
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-22 19:29:25 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-24 22:20:02 +0200
commit951a310989cd0dba1e765095c74e607d626c3f9f (patch)
tree9f7c95c02abaaab29881f6619dea9983134505a5 /src/sfx/inc
parent3d77d3a8aa0540fb487810c6278337c7130c9d29 (diff)
downloadjancity-951a310989cd0dba1e765095c74e607d626c3f9f.tar.gz
Allow systems without sound support
Diffstat (limited to 'src/sfx/inc')
-rw-r--r--src/sfx/inc/sfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sfx/inc/sfx.h b/src/sfx/inc/sfx.h
index b8fe44f..ea290d3 100644
--- a/src/sfx/inc/sfx.h
+++ b/src/sfx/inc/sfx.h
@@ -2,6 +2,7 @@
#define SFX_H
#include <sfx/port.h>
+#include <stddef.h>
#include <stdio.h>
#ifdef __cplusplus
@@ -10,7 +11,7 @@ extern "C"
#endif
int sfx_init(void);
-int sfx_sound_from_fp(struct sound *s, FILE *f);
+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);