Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / ac97 / ac97-accel.c
blobd3624c7df4431eb2f7896251f133f17cde24caff
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 return AHIS_UNKNOWN;
23 /******************************************************************************
24 ** AHIsub_SetFreq *************************************************************
25 ******************************************************************************/
27 ULONG
28 _AHIsub_SetFreq( UWORD channel,
29 ULONG freq,
30 struct AHIAudioCtrlDrv* AudioCtrl,
31 ULONG flags,
32 struct DriverBase* AHIsubBase )
34 return AHIS_UNKNOWN;
38 /******************************************************************************
39 ** AHIsub_SetSound ************************************************************
40 ******************************************************************************/
42 ULONG
43 _AHIsub_SetSound( UWORD channel,
44 UWORD sound,
45 ULONG offset,
46 LONG length,
47 struct AHIAudioCtrlDrv* AudioCtrl,
48 ULONG flags,
49 struct DriverBase* AHIsubBase )
51 return AHIS_UNKNOWN;
55 /******************************************************************************
56 ** AHIsub_SetEffect ***********************************************************
57 ******************************************************************************/
59 ULONG
60 _AHIsub_SetEffect( APTR effect,
61 struct AHIAudioCtrlDrv* AudioCtrl,
62 struct DriverBase* AHIsubBase )
64 return AHIS_UNKNOWN;
68 /******************************************************************************
69 ** AHIsub_LoadSound ***********************************************************
70 ******************************************************************************/
72 ULONG
73 _AHIsub_LoadSound( UWORD sound,
74 ULONG type,
75 APTR info,
76 struct AHIAudioCtrlDrv* AudioCtrl,
77 struct DriverBase* AHIsubBase )
79 return AHIS_UNKNOWN;
83 /******************************************************************************
84 ** AHIsub_UnloadSound *********************************************************
85 ******************************************************************************/
87 ULONG
88 _AHIsub_UnloadSound( UWORD sound,
89 struct AHIAudioCtrlDrv* AudioCtrl,
90 struct DriverBase* AHIsubBase )
92 return AHIS_UNKNOWN;