diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-12 01:04:15 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-12 01:04:15 +0900 |
commit | ab379f2bb081f3fe2ea77ed163f755f59a49e6cf (patch) | |
tree | b06142d1b4f765e23531abc50ad229494b241a04 /common/fmplayer_file.h | |
parent | c6c96944ae1bb1d7363349ec21be9dca76ee9ec4 (diff) |
added wave output
Diffstat (limited to 'common/fmplayer_file.h')
-rw-r--r-- | common/fmplayer_file.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |