Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / HDAudio / accel.c
blob432b01b061078e22d38fd9a334bc33470b8f612b
1 /*
2 The contents of this file are subject to the AROS Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
3 http://www.aros.org/license.html
5 Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
6 ANY KIND, either express or implied. See the License for the specific language governing rights and
7 limitations under the License.
9 (C) Copyright xxxx-2009 Davy Wentzler.
10 (C) Copyright 2009-2010 Stephen Jones.
12 The Initial Developer of the Original Code is Davy Wentzler.
14 All Rights Reserved.
17 #include <config.h>
19 #include <devices/ahi.h>
20 #include <libraries/ahi_sub.h>
22 #include "library.h"
24 /******************************************************************************
25 ** AHIsub_SetVol **************************************************************
26 ******************************************************************************/
28 ULONG
29 _AHIsub_SetVol(UWORD channel,
30 Fixed volume,
31 sposition pan,
32 struct AHIAudioCtrlDrv* AudioCtrl,
33 ULONG flags,
34 struct DriverBase* AHIsubBase)
36 return AHIS_UNKNOWN;
40 /******************************************************************************
41 ** AHIsub_SetFreq *************************************************************
42 ******************************************************************************/
44 ULONG
45 _AHIsub_SetFreq(UWORD channel,
46 ULONG freq,
47 struct AHIAudioCtrlDrv* AudioCtrl,
48 ULONG flags,
49 struct DriverBase* AHIsubBase)
51 return AHIS_UNKNOWN;
55 /******************************************************************************
56 ** AHIsub_SetSound ************************************************************
57 ******************************************************************************/
59 ULONG
60 _AHIsub_SetSound(UWORD channel,
61 UWORD sound,
62 ULONG offset,
63 LONG length,
64 struct AHIAudioCtrlDrv* AudioCtrl,
65 ULONG flags,
66 struct DriverBase* AHIsubBase)
68 return AHIS_UNKNOWN;
72 /******************************************************************************
73 ** AHIsub_SetEffect ***********************************************************
74 ******************************************************************************/
76 ULONG
77 _AHIsub_SetEffect(APTR effect,
78 struct AHIAudioCtrlDrv* AudioCtrl,
79 struct DriverBase* AHIsubBase)
81 return AHIS_UNKNOWN;
85 /******************************************************************************
86 ** AHIsub_LoadSound ***********************************************************
87 ******************************************************************************/
89 ULONG
90 _AHIsub_LoadSound(UWORD sound,
91 ULONG type,
92 APTR info,
93 struct AHIAudioCtrlDrv* AudioCtrl,
94 struct DriverBase* AHIsubBase)
96 return AHIS_UNKNOWN;
100 /******************************************************************************
101 ** AHIsub_UnloadSound *********************************************************
102 ******************************************************************************/
104 ULONG
105 _AHIsub_UnloadSound(UWORD sound,
106 struct AHIAudioCtrlDrv* AudioCtrl,
107 struct DriverBase* AHIsubBase)
109 return AHIS_UNKNOWN;