grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / AHI / Drivers / Alsa / DriverData.h
blobc2f1afacebb29b394c78ae5c1aeb16665b263bd5
1 #ifndef AHI_Drivers_Alsa_DriverData_h
2 #define AHI_Drivers_Alsa_DriverData_h
4 #include <exec/libraries.h>
5 #include <dos/dos.h>
6 #include <proto/dos.h>
8 #include "DriverBase.h"
10 struct AlsaBase
12 struct DriverBase driverbase;
13 struct DosLibrary* dosbase;
15 /* Mixer properties */
16 APTR al_MixerHandle;
17 APTR al_MixerElem;
18 LONG al_MinVolume;
19 LONG al_MaxVolume;
22 #define DRIVERBASE_SIZEOF (sizeof (struct AlsaBase))
24 #define DOSBase (*(struct DosLibrary**) &AlsaBase->dosbase)
26 struct AlsaData
28 struct DriverData driverdata;
29 UBYTE flags;
30 UBYTE pad1;
31 BYTE mastersignal;
32 BYTE slavesignal;
33 struct Process* mastertask;
34 struct Process* slavetask;
35 struct AlsaBase* ahisubbase;
36 APTR mixbuffer;
38 APTR alsahandle;
42 #endif /* AHI_Drivers_Alsa_DriverData_h */