From ab379f2bb081f3fe2ea77ed163f755f59a49e6cf Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 12 Apr 2017 01:04:15 +0900 Subject: added wave output --- common/fmplayer_file.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/fmplayer_file.h') diff --git a/common/fmplayer_file.h b/common/fmplayer_file.h index fd7c53e..143c349 100644 --- a/common/fmplayer_file.h +++ b/common/fmplayer_file.h @@ -5,6 +5,7 @@ #include "fmdriver/fmdriver.h" #include "fmdriver/fmdriver_pmd.h" #include "fmdriver/fmdriver_fmp.h" +#include "libopna/opnadrum.h" enum fmplayer_file_type { FMPLAYER_FILE_TYPE_PMD, @@ -17,6 +18,7 @@ enum fmplayer_file_error { FMPLAYER_FILE_ERR_FILEIO, FMPLAYER_FILE_ERR_BADFILE_SIZE, FMPLAYER_FILE_ERR_BADFILE, + FMPLAYER_FILE_ERR_NOTFOUND, FMPLAYER_FILE_ERR_COUNT }; @@ -36,7 +38,7 @@ struct fmplayer_file { }; struct fmplayer_file *fmplayer_file_alloc(const void *path, enum fmplayer_file_error *error); void fmplayer_file_free(const struct fmplayer_file *fmfile); -void fmplayer_file_load(struct fmdriver_work *work, struct fmplayer_file *fmfile); +void fmplayer_file_load(struct fmdriver_work *work, struct fmplayer_file *fmfile, int loopcnt); const char *fmplayer_file_strerror(enum fmplayer_file_error error); const wchar_t *fmplayer_file_strerror_w(enum fmplayer_file_error error); -- cgit v1.2.3