home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / prefs / sound.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  1KB  |  53 lines

  1. #ifndef PREFS_SOUND_H
  2. #define PREFS_SOUND_H
  3. /*
  4. **    $VER: sound.h 38.2 (20.6.91)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for sound preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef LIBRARIES_IFFPARSE_H
  21. #include <libraries/iffparse.h>
  22. #endif
  23.  
  24.  
  25. /*****************************************************************************/
  26.  
  27.  
  28. #define ID_SOND MAKE_ID('S','O','N','D')
  29.  
  30.  
  31. struct SoundPrefs
  32. {
  33.     LONG  sop_Reserved[4];          /* System reserved        */
  34.     BOOL  sop_DisplayQueue;          /* Flash the display?        */
  35.     BOOL  sop_AudioQueue;          /* Make some sound?        */
  36.     UWORD sop_AudioType;          /* Type of sound, see below   */
  37.     UWORD sop_AudioVolume;          /* Volume of sound, 0..64     */
  38.     UWORD sop_AudioPeriod;          /* Period of sound, 127..2500 */
  39.     UWORD sop_AudioDuration;          /* Length of simple beep        */
  40.     char  sop_AudioFileName[256];     /* Filename of 8SVX file        */
  41. };
  42.  
  43.  
  44. /* constants for SoundPrefs.sop_AudioType */
  45. #define SPTYPE_BEEP    0    /* simple beep sound */
  46. #define SPTYPE_SAMPLE    1    /* sampled sound     */
  47.  
  48.  
  49. /*****************************************************************************/
  50.  
  51.  
  52. #endif /* PREFS_SOUND_H */
  53.