home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / include / sound / ataridma.h next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  682 b   |  40 lines

  1. /*
  2.  *    Atari DMA sound definitions
  3.  *
  4.  *    Patrice Mandin
  5.  */
  6.  
  7. #ifndef _I_ATARIDMA_H_
  8. #define _I_ATARIDMA_H_
  9.  
  10. extern char *atari_dmabuffer;
  11.  
  12. /* Output coef for freq */
  13. /* = (11025*65536)/machine freq */
  14.  
  15. extern int atari_sndcoef;
  16.  
  17. /* Length of DMA buffer */
  18.  
  19. extern int atari_sndlength;
  20.  
  21. #define DMAFREQ_TT    12585
  22. #define DMAFREQ_F30    12292
  23.  
  24. #define TIMERA_FREQ    35
  25.  
  26. /* functions */
  27.  
  28. void I_SndInit_atari(void);
  29.  
  30. void I_InitSound_atari(void);
  31. void I_ShutdownSound_atari(void);
  32. int I_StartSound_atari(int id, int vol, int sep, int pitch, int priority);
  33.  
  34. /* asm functions */
  35.  
  36. void I_Atari_InitDmaSound(void);
  37. void I_Atari_StopDmaSound(void);
  38.  
  39. #endif
  40.