Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / AROS / aros-accel.c
blob44dfdc34cd456da546ca9b54d56e84990021779c
2 #include <devices/ahi.h>
3 #include <libraries/ahi_sub.h>
5 #include "DriverData.h"
7 /******************************************************************************
8 ** AHIsub_SetVol **************************************************************
9 ******************************************************************************/
11 ULONG
12 _AHIsub_SetVol( UWORD channel,
13 Fixed volume,
14 sposition pan,
15 struct AHIAudioCtrlDrv* AudioCtrl,
16 ULONG flags,
17 struct DriverBase* AHIsubBase )
19 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
21 return AHIS_UNKNOWN;
25 /******************************************************************************
26 ** AHIsub_SetFreq *************************************************************
27 ******************************************************************************/
29 ULONG
30 _AHIsub_SetFreq( UWORD channel,
31 ULONG freq,
32 struct AHIAudioCtrlDrv* AudioCtrl,
33 ULONG flags,
34 struct DriverBase* AHIsubBase )
36 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
38 return AHIS_UNKNOWN;
42 /******************************************************************************
43 ** AHIsub_SetSound ************************************************************
44 ******************************************************************************/
46 ULONG
47 _AHIsub_SetSound( UWORD channel,
48 UWORD sound,
49 ULONG offset,
50 LONG length,
51 struct AHIAudioCtrlDrv* AudioCtrl,
52 ULONG flags,
53 struct DriverBase* AHIsubBase )
55 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
57 return AHIS_UNKNOWN;
61 /******************************************************************************
62 ** AHIsub_SetEffect ***********************************************************
63 ******************************************************************************/
65 ULONG
66 _AHIsub_SetEffect( APTR effect,
67 struct AHIAudioCtrlDrv* AudioCtrl,
68 struct DriverBase* AHIsubBase )
70 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
72 return AHIS_UNKNOWN;
76 /******************************************************************************
77 ** AHIsub_LoadSound ***********************************************************
78 ******************************************************************************/
80 ULONG
81 _AHIsub_LoadSound( UWORD sound,
82 ULONG type,
83 APTR info,
84 struct AHIAudioCtrlDrv* AudioCtrl,
85 struct DriverBase* AHIsubBase )
87 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
89 return AHIS_UNKNOWN;
93 /******************************************************************************
94 ** AHIsub_UnloadSound *********************************************************
95 ******************************************************************************/
97 ULONG
98 _AHIsub_UnloadSound( UWORD sound,
99 struct AHIAudioCtrlDrv* AudioCtrl,
100 struct DriverBase* AHIsubBase )
102 struct AROSBase* AROSBase = (struct AROSBase*) AHIsubBase;
104 return AHIS_UNKNOWN;