home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / MIDI / camd-37.1 / development / include / midi / midiprefs.i < prev   
Encoding:
Text File  |  1999-10-27  |  2.4 KB  |  77 lines

  1.     ifnd    MIDI_MIDIPREFS_I
  2. MIDI_MIDIPREFS_I set 1
  3.  
  4. *************************************************************************
  5. *     C. A. M. D.    (Commodore Amiga MIDI Driver)                   *
  6. *************************************************************************
  7. *                                    *
  8. * Design & Development    - Roger B. Dannenberg                *
  9. *            - Jean-Christophe Dhellemmes            *
  10. *            - Bill Barton                    *
  11. *                       - Darius Taghavy                                *
  12. *                                                                       *
  13. * Copyright 1990-1999 by Amiga, Inc.                                    *
  14. *                                                                       *
  15. *************************************************************************
  16. *
  17. * midiprefs.i - CAMD library base structure
  18. *
  19. *************************************************************************
  20.  
  21.     ifnd    EXEC_TYPES_I
  22.     include "exec/types.i"
  23.     endc
  24.  
  25.  
  26. ****************************************************************
  27. *
  28. *   MidiUnitDef
  29. *
  30. ****************************************************************
  31.  
  32.     STRUCTURE MidiUnitDef,0
  33.     STRUCT    mud_MidiDeviceName,32    ; Name of MIDI device driver for this Unit (ignored for MUDF_Internal)
  34.     STRUCT    mud_MidiClusterInName,32  ; Name of Cluster for input from MIDI device driver
  35.     STRUCT    mud_MidiClusterOutName,32 ; Name of Cluster for output to MIDI device driver
  36.     STRUCT    mud_MidiDeviceComment,34 ; Comment for MIDI device driver
  37.     UBYTE    mud_MidiDevicePort    ; MIDI device driver port number for this Unit
  38.     UBYTE    mud_Flags
  39.     ULONG    mud_XmitQueueSize
  40.     ULONG    mud_RecvQueueSize
  41.     LABEL    MidiUnitDef_Size
  42.  
  43.     ; flags
  44.     BITDEF    MUD,Internal,0        ; Use Amiga's internal serial port.
  45.                     ; Ignore MidiDeviceName/Port when set.
  46.                     ; Only one Unit can legally have this bit set.
  47.     BITDEF    MUD,Ignore,1        ; Ignore this entry.
  48.  
  49.     ; minimum queue sizes
  50.  
  51. MinXmitQueueSize    equ 512        ; minimum send queue size (bytes)
  52. MinRecvQueueSize    equ 2048        ; minimum recv queue size (words)
  53.  
  54.  
  55. ****************************************************************
  56. *
  57. *   MidiPrefs
  58. *
  59. ****************************************************************
  60.  
  61. ; MaxMidiUnits    equ 4            ; Max # of MIDI Units
  62.  
  63.     STRUCTURE MidiPrefs,0
  64. ;    ULONG    mp_Magic        ; MidiPrefsMagic
  65.     UBYTE    mp_NUnits
  66.     UBYTE    mp_pad0
  67.     STRUCT    mp_UnitDef,MidiUnitDef_Size
  68.     LABEL    MidiPrefs_Size
  69.  
  70. ;MidiPrefsMagic    equ 'MPRF'
  71.  
  72. MidiPrefsName    macro
  73.     dc.b    'midi.prefs',0
  74.     endm
  75.  
  76.     endc
  77.