Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / VIA-AC97 / accel.c
bloba5afe3312d5a9b3e4b57ee1e980ddaa0b3c07364
1 /*
2 Copyright © 2005-2013, Davy Wentzler. All rights reserved.
3 Copyright © 2010-2013, The AROS Development Team. All rights reserved.
4 $Id$
5 */
7 #include <config.h>
9 #include <devices/ahi.h>
10 #include <libraries/ahi_sub.h>
12 #include "library.h"
14 /******************************************************************************
15 ** AHIsub_SetVol **************************************************************
16 ******************************************************************************/
18 ULONG
19 _AHIsub_SetVol( UWORD channel,
20 Fixed volume,
21 sposition pan,
22 struct AHIAudioCtrlDrv* AudioCtrl,
23 ULONG flags,
24 struct DriverBase* AHIsubBase )
26 return AHIS_UNKNOWN;
30 /******************************************************************************
31 ** AHIsub_SetFreq *************************************************************
32 ******************************************************************************/
34 ULONG
35 _AHIsub_SetFreq( UWORD channel,
36 ULONG freq,
37 struct AHIAudioCtrlDrv* AudioCtrl,
38 ULONG flags,
39 struct DriverBase* AHIsubBase )
41 return AHIS_UNKNOWN;
45 /******************************************************************************
46 ** AHIsub_SetSound ************************************************************
47 ******************************************************************************/
49 ULONG
50 _AHIsub_SetSound( UWORD channel,
51 UWORD sound,
52 ULONG offset,
53 LONG length,
54 struct AHIAudioCtrlDrv* AudioCtrl,
55 ULONG flags,
56 struct DriverBase* AHIsubBase )
58 return AHIS_UNKNOWN;
62 /******************************************************************************
63 ** AHIsub_SetEffect ***********************************************************
64 ******************************************************************************/
66 ULONG
67 _AHIsub_SetEffect( APTR effect,
68 struct AHIAudioCtrlDrv* AudioCtrl,
69 struct DriverBase* AHIsubBase )
71 return AHIS_UNKNOWN;
75 /******************************************************************************
76 ** AHIsub_LoadSound ***********************************************************
77 ******************************************************************************/
79 ULONG
80 _AHIsub_LoadSound( UWORD sound,
81 ULONG type,
82 APTR info,
83 struct AHIAudioCtrlDrv* AudioCtrl,
84 struct DriverBase* AHIsubBase )
86 return AHIS_UNKNOWN;
90 /******************************************************************************
91 ** AHIsub_UnloadSound *********************************************************
92 ******************************************************************************/
94 ULONG
95 _AHIsub_UnloadSound( UWORD sound,
96 struct AHIAudioCtrlDrv* AudioCtrl,
97 struct DriverBase* AHIsubBase )
99 return AHIS_UNKNOWN;