home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / +system+ / tools / sound / eagleplayer2.00 / developer / include / misc / eagleplayersamplesaver.i < prev   
Text File  |  1998-02-26  |  2KB  |  91 lines

  1. **
  2. **  $Filename: misc/EaglePlayerSamplesaver.i
  3. **  $Release: 2.00 $
  4. **  $Revision: 1$
  5. **  $Date: 24/02/97$
  6. **
  7. ** Definitions and Macros for creating EaglePlayer Samplesavers
  8. **
  9. **    (C) Copyright 1993-97 by DEFECT
  10. **        All Rights Reserved
  11. **
  12. **
  13.  
  14.     IFND    EAGLEPLAYERSAMPLESAVER_I
  15. EAGLEPLAYERSAMPLESAVER_I    SET    1
  16.  
  17.  
  18.     IFND EXEC_PORTS_I
  19.         INCLUDE "exec/ports.i"
  20.     ENDC
  21.  
  22.     IFND EXEC_TYPES_I
  23.         INCLUDE "exec/types.i"
  24.     ENDC
  25.  
  26.     IFND UTILITY_TAGITEM_I
  27.         INCLUDE "utility/tagitem.i"
  28.     ENDC
  29.  
  30.     IFND    EAGLEPLAYER_I
  31.         INCLUDE "Misc/EaglePlayer.i"
  32.     ENDC
  33.  
  34.  
  35. SAMPLESAVERVERSION EQU    1        ;Current Version of Samplesaver
  36.  
  37.  
  38. *------------------------------ Samplesaver --------------------------------*
  39. SS_TagBase    EQU    TAG_USER+"SS"
  40.  
  41.  
  42.     ENUM    SS_TagBase        ;EaglePlayer-TagBase
  43.  
  44.     EITEM    SS_Formatname
  45.     EITEM    SS_Version        ;Version of external Samplesaver
  46.     EITEM    SS_EagleBase
  47.     EITEM    SS_RequestSampleSaver    ;Requested Version of Samplesaver
  48.     EITEM    SS_Creator
  49.     EITEM    SS_Flags
  50.     EITEM    SS_SaveSample        ;Input: a0=EP_Sampletable (see eagleplayer.i)
  51.                     ;    a1=Path of File
  52.                     ;    a2=Ptr to Saveprogram
  53.                     ;Output:d0=EPR_Error oder NULL
  54.     EITEM    SS_RAWFlags        ;what raw does the saver need? USIF-Flags
  55.                     ;EPS_Structure
  56.     EITEM    SS_DefFreqPtr
  57.     EITEM    SS_NextSamplesaver
  58.     EITEM    SS_Description
  59.     EITEM    SS_DescriptionLNr        ;Localemr in Samplesavercatalog
  60.  
  61.     ;end of Samplesaverdefinition
  62.  
  63.  
  64.  
  65. *- Flags -*
  66.     BITDEF    SS,FrequencyVariable,0
  67.  
  68. **- RAWFlags -*
  69. *    BITDEF    SSS,8Bit,0
  70. *    BITDEF    SSS,16Bit,1
  71. *    BITDEF    SSS,Interleaved,2
  72. *    BITDEF    SSS,Unsigned,3
  73. *    BITDEF    SSS,Intel,4
  74. *
  75.  
  76.  
  77.  
  78.  
  79. *----------------------------- Samplesaverheader -----------------------------*
  80. SAMPLESAVERHEADER MACRO
  81.     moveq    #-1,d0                ; this should return an error
  82.     rts                    ; in case someone tried to
  83.                         ; run it
  84.     dc.l    \1                ; Ptr to Taglist
  85.     dc.b    "EP_SAMPLESAVER",0,0        ; identifier
  86.     ENDM
  87.  
  88.  
  89.     ENDC    ; EAGLEPLAYERSAMPLESAVER
  90.  
  91.