view src/sap/saplib/sapLib.h @ 142:c0b31cf2c7cd trunk

[svn] Atari XL SAP. This compiles anything but cleanly, but somehow still works. No one will notice anyway, though. What percentage of the population listens to Atari XL music? I don't have an answer to that, but I'd guess that Audacious' SAP plugin will be used by approximately 2 people.
author asheldon
date Sun, 29 Oct 2006 01:08:30 -0700
parents
children
line wrap: on
line source

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
	int		numOfSongs;
	int		defSong; 
	char	*commentBuffer;
	int		currentTimeIn50Sec;
} sapMUSICstrc;

sapMUSICstrc *sapLoadMusicFile( char *fname );
void sapPlaySong( int numOfSong );
void sapRenderBuffer( short int *buffer, int number_of_samples );

#ifdef __cplusplus
}
#endif