home *** CD-ROM | disk | FTP | other *** search
- /*
- * Atari DMA sound definitions
- *
- * Patrice Mandin
- */
-
- #ifndef _I_ATARIDMA_H_
- #define _I_ATARIDMA_H_
-
- extern char *atari_dmabuffer;
-
- /* Output coef for freq */
- /* = (11025*65536)/machine freq */
-
- extern int atari_sndcoef;
-
- /* Length of DMA buffer */
-
- extern int atari_sndlength;
-
- #define DMAFREQ_TT 12585
- #define DMAFREQ_F30 12292
-
- #define TIMERA_FREQ 35
-
- /* functions */
-
- void I_SndInit_atari(void);
-
- void I_InitSound_atari(void);
- void I_ShutdownSound_atari(void);
- int I_StartSound_atari(int id, int vol, int sep, int pitch, int priority);
-
- /* asm functions */
-
- void I_Atari_InitDmaSound(void);
- void I_Atari_StopDmaSound(void);
-
- #endif
-