Subversion Repositories pentevo

Rev

Rev 783 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #ifndef __SNDBUFFER_H_INCLUDED
  2. #define __SNDBUFFER_H_INCLUDED
  3.  
  4. #ifdef USE_SND_EXTERNAL_BUFFER // enable external buffer
  5.  
  6. #define SNDBUFSIZE 16384
  7. extern unsigned sndbuf[SNDBUFSIZE];
  8.  
  9. union SNDSAMPLE;
  10. #define SND_EXTERNAL_BUFFER ((SNDSAMPLE*)sndbuf)
  11. #define SND_EXTERNAL_BUFFER_SIZE SNDBUFSIZE
  12.  
  13. #else
  14.  
  15. #undef SND_EXTERNAL_BUFFER
  16.  
  17. #endif // USE_SND_EXTERNAL_BUFFER
  18.  
  19. #endif // __SNDBUFFER_H_INCLUDED
  20.