1 #ifndef AHI_Drivers_Filesave_DriverData_h
2 #define AHI_Drivers_Filesave_DriverData_h
4 #include <exec/libraries.h>
6 #include <graphics/gfxbase.h>
9 #include <proto/datatypes.h>
10 #include <proto/dos.h>
11 #include <proto/graphics.h>
13 #include "DriverBase.h"
17 struct DriverBase driverbase
;
18 struct Library
* aslbase
;
19 struct DosLibrary
* dosbase
;
20 struct Library
* dtsbase
;
21 struct GfxBase
* gfxbase
;
23 struct AslIFace
* iasl
;
24 struct DOSIFace
* idos
;
25 struct DataTypesIFace
* idatatypes
;
29 #define DRIVERBASE_SIZEOF (sizeof (struct FilesaveBase))
31 #define AslBase (FilesaveBase->aslbase)
32 #define DOSBase (FilesaveBase->dosbase)
33 #define DataTypesBase (FilesaveBase->dtsbase)
34 #define GfxBase (FilesaveBase->gfxbase)
37 #define IDOS (FilesaveBase->idos)
38 #define IAsl (FilesaveBase->iasl)
39 #define IDataTypes (FilesaveBase->idatatypes)
45 struct DriverData fs_DriverData
;
50 struct Process
*fs_MasterTask
;
51 struct Process
*fs_SlaveTask
;
52 struct FileRequester
*fs_FileReq
;
53 struct DriverBase
*fs_AHIsubBase
;
58 ULONG fs_SaveBufferSize
;
60 BYTE fs_RecMasterSignal
;
61 BYTE fs_RecSlaveSignal
;
62 struct Process
*fs_RecSlaveTask
;
63 struct FileRequester
*fs_RecFileReq
;
67 #define AHIDB_FileSaveFormat (AHIDB_UserBase+0) /* Private tag */
75 #define SAVEBUFFERSIZE 100000 // in samples (min)
76 #define RECBUFFERSIZE 10000 // in samples
80 #endif /* AHI_Drivers_Filesave_DriverData_h */