home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / prefs / sound.i < prev    next >
Text File  |  1993-10-15  |  1KB  |  43 lines

  1.     IFND    PREFS_SOUND_I
  2. PREFS_SOUND_I    SET    1
  3. **
  4. **    $VER: sound.i 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.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC
  18.  
  19. ;---------------------------------------------------------------------------
  20.  
  21. ID_SOND equ "SOND"
  22.  
  23.  
  24.    STRUCTURE SoundPrefs,0
  25.     STRUCT sop_Reserved,4*4        ; System reserved
  26.     BOOL   sop_DisplayQueue    ; Flash the display?
  27.     BOOL   sop_AudioQueue        ; Make some sound?
  28.     UWORD  sop_AudioType        ; Type of sound, see below
  29.     UWORD  sop_AudioVolume        ; Volume of sound, 0..64
  30.     UWORD  sop_AudioPeriod        ; Period of sound, 127..2500
  31.     UWORD  sop_AudioDuration    ; Length of simple beep
  32.     STRUCT sop_AudioFileName,256    ; Filename of 8SVX file
  33.     LABEL SoundPrefs_SIZEOF
  34.  
  35.  
  36. ; constants for SoundPrefs.sop_AudioType
  37. SPTYPE_BEEP    equ 0    ; simple beep sound
  38. SPTYPE_SAMPLE    equ 1    ; sampled sound
  39.  
  40. ;---------------------------------------------------------------------------
  41.  
  42.     ENDC    ; PREFS_SOUND_I
  43.