home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / includes / devices / audio.i < prev    next >
Text File  |  1992-09-01  |  1KB  |  60 lines

  1.     IFND    DEVICES_AUDIO_I
  2. DEVICES_AUDIO_I SET    1
  3. **
  4. **    $Filename: devices/audio.i $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.3 $
  7. **    $Date: 90/08/29 $
  8. **
  9. **    audio.device include file
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND    EXEC_IO_I
  16.     INCLUDE    "exec/io.i"
  17.     ENDC
  18.  
  19. AUDIONAME MACRO
  20.         DC.B    'audio.device',0
  21.     ENDM
  22.  
  23. ADHARD_CHANNELS        EQU    4
  24.  
  25. ADALLOC_MINPREC        EQU    -128
  26. ADALLOC_MAXPREC        EQU    127
  27.  
  28. ADCMD_FREE        EQU    CMD_NONSTD+0
  29. ADCMD_SETPREC        EQU    CMD_NONSTD+1
  30. ADCMD_FINISH        EQU    CMD_NONSTD+2
  31. ADCMD_PERVOL        EQU    CMD_NONSTD+3
  32. ADCMD_LOCK        EQU    CMD_NONSTD+4
  33. ADCMD_WAITCYCLE        EQU    CMD_NONSTD+5
  34. ADCMD_ALLOCATE        EQU    32
  35.  
  36. ADIOB_PERVOL        EQU    4
  37. ADIOF_PERVOL        EQU    1<<4
  38. ADIOB_SYNCCYCLE        EQU    5
  39. ADIOF_SYNCCYCLE        EQU    1<<5
  40. ADIOB_NOWAIT        EQU    6
  41. ADIOF_NOWAIT        EQU    1<<6
  42. ADIOB_WRITEMESSAGE    EQU    7
  43. ADIOF_WRITEMESSAGE    EQU    1<<7
  44.  
  45. ADIOERR_NOALLOCATION    EQU    -10
  46. ADIOERR_ALLOCFAILED    EQU    -11
  47. ADIOERR_CHANNELSTOLEN    EQU    -12
  48.  
  49.     STRUCTURE    IOAudio,IO_SIZE
  50.     WORD    ioa_AllocKey
  51.     APTR    ioa_Data
  52.     ULONG    ioa_Length
  53.     UWORD    ioa_Period
  54.     UWORD    ioa_Volume
  55.     UWORD    ioa_Cycles
  56.     STRUCT    ioa_WriteMsg,MN_SIZE
  57.     LABEL    ioa_SIZEOF
  58.  
  59.     ENDC    ; DEVICES_AUDIO_I
  60.