Genesis-Plus-GX/source/sound/fm.h

30 lines
699 B
C
Raw Normal View History

2007-08-10 22:34:06 +02:00
/*
2008-08-07 14:26:07 +02:00
**
** File: fm_ym2612.h -- header for ym2612.c
** software implementation of Yamaha FM sound generator
**
** Copyright (C) 2001, 2002, 2003 Jarek Burczynski (bujar at mame dot net)
** Copyright (C) 1998 Tatsuyuki Satoh , MultiArcadeMachineEmulator development
**
** Version 1.4 (final beta)
**
2007-08-10 22:34:06 +02:00
*/
2008-08-07 14:26:07 +02:00
2007-08-10 22:34:06 +02:00
#ifndef _H_FM_FM_
#define _H_FM_FM_
/* compiler dependence */
#ifndef INLINE
#define INLINE static __inline__
#endif
2008-08-07 14:26:07 +02:00
extern int YM2612Init(int baseclock, int rate);
extern int YM2612ResetChip(void);
extern void YM2612UpdateOne(int **buffer, int length);
extern int YM2612Write(unsigned char a, unsigned char v);
extern int YM2612Read(void);
2007-08-10 22:34:06 +02:00
#endif /* _H_FM_FM_ */