/***************************************************************************
/*	Fichier D'entˆte permettant l'utilisation de la librairie          *
/*	CRYSTAL.LIB.                                                       *
/*                                                                         *
/* Programm‚ par S‚bastien Granjoux                                        *
/* Commenc‚ le 18/03/95                                                    *
/* Modification le 10/05/95                                                */

#ifndef __CRYSTAL_H
#define __CRYSTAL_H

#ifdef __cpluplus
extern "C"
{
#endif
int far pascal SETMOD(unsigned int frequence,int device,int port,char irq,char dma);
int far pascal FLOADMOD(char far *filename);
int far pascal MLOADMOD(char far *adress);
int far pascal OLOADMOD(long int position);
int far pascal DETECTSND(int far *device,int far *port,char far *irq,char far *dma);
void far pascal CHANGEVOL(unsigned char newvol);
void far pascal SETMODPOS(unsigned int newpos);
int far pascal GETMODPOS();
void far pascal UNLOADMOD();
void far pascal STARTMOD();
void far pascal MAKEMOD();
void far pascal STOPMOD();
int far pascal USEGUS();
int far pascal USESPK();
int far pascal USEDAC();
int far pascal USEADL();
int far pascal USESB();
int far pascal USESP();
#ifdef __cplusplus
};
#endif

#define	THE_BEST	0
#define	PC_SPEAKER	1
#define	DAC_ON_LPT	2
#define	SOUNDBLASTER	3
#define GUS		4
#define	SOUNDPRO	5
#define	ADLIB		6
#define NO_DEVICE	7

#endif

