Added FM (OPL2/OPL3) instrument support by Uros Bizjak <uros@kss-loka.si>.

This commit is contained in:
Takashi Iwai 2000-09-01 16:24:12 +00:00
parent b000ebc270
commit a2026ace68
3 changed files with 119 additions and 2 deletions

View file

@ -5,6 +5,22 @@
* *
****************************************************************************/
/* FM instrument support */
typedef void snd_instr_fm_t;
#ifdef __cplusplus
extern "C" {
#endif
int snd_instr_fm_convert_to_stream(snd_instr_fm_t *fm, const char *name, snd_seq_instr_put_t **put, size_t *size);
int snd_instr_fm_convert_from_stream(snd_seq_instr_get_t *data, size_t size, snd_instr_fm_t **fm);
int snd_instr_fm_free(snd_instr_fm_t *fm);
#ifdef __cplusplus
}
#endif
/* Simple Wave support */
typedef void snd_instr_simple_t;
@ -42,4 +58,3 @@ int snd_instr_iwffff_free(snd_instr_iwffff_t *iwffff);
#ifdef __cplusplus
}
#endif