Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / Toccata / toccata.h
blob76ef0cd1e3432df21c29beb135d3be135c6d5784
2 /* Flags */
4 #define TF_ISPLAYING (1<<0)
5 #define TF_ISRECORDING (1<<1)
6 #define TF_IAMTHEOWNER (1<<2)
8 struct toccata {
9 UBYTE t_Flags;
10 UBYTE t_Input;
11 UWORD t_DisableCount;
12 struct Task *t_MasterTask;
13 struct Library *t_AHIsubBase;
14 struct Interrupt *t_PlaySoftInt;
15 struct Interrupt *t_MixSoftInt;
16 struct Process *t_SlaveProcess;
17 WORD *t_MixBuffer1; /* Filled mixing routine */
18 WORD *t_MixBuffer2; /* Filled mixing routine */
19 WORD *t_MixBuffer3; /* Filled mixing routine */
20 WORD *t_SampBuffer1; /* Played by Toccata */
21 WORD *t_SampBuffer2; /* Played by Toccata */
22 ULONG *t_RecBuffer; /* Filled by Toccata */
23 struct AHIRecordMessage *t_RecMessage;
24 ULONG t_TocSamples; /* Size of Toc's playbuffer */
25 ULONG t_TocSamplesCnt; /* Counter */
26 ULONG t_MixSamplesCnt; /* Counter for mixbuffer */
27 WORD *t_MixBufferPtr;
28 Fixed t_Loopback;
29 ULONG t_Mode;
30 BOOL t_NoTask;
31 BYTE t_MasterSignal;
32 BYTE t_SlaveSignal;
33 BYTE t_PlaySignal;
34 BYTE t_RecordSignal;
35 BYTE t_MixSignal;