Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / EMU10kx / emu10kx-accel.c
blob780de32765e4220621528886e93f43e58d09ed77
1 /*
2 emu10kx.audio - AHI driver for SoundBlaster Live! series
3 Copyright (C) 2002-2005 Martin Blom <martin@blom.org>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #include <config.h>
22 #include <devices/ahi.h>
23 #include <libraries/ahi_sub.h>
24 #include <utility/hooks.h>
26 #include "library.h"
28 /******************************************************************************
29 ** AHIsub_SetVol **************************************************************
30 ******************************************************************************/
32 ULONG
33 _AHIsub_SetVol( UWORD channel,
34 Fixed volume,
35 sposition pan,
36 struct AHIAudioCtrlDrv* AudioCtrl,
37 ULONG flags,
38 struct DriverBase* AHIsubBase )
40 return AHIS_UNKNOWN;
44 /******************************************************************************
45 ** AHIsub_SetFreq *************************************************************
46 ******************************************************************************/
48 ULONG
49 _AHIsub_SetFreq( UWORD channel,
50 ULONG freq,
51 struct AHIAudioCtrlDrv* AudioCtrl,
52 ULONG flags,
53 struct DriverBase* AHIsubBase )
55 return AHIS_UNKNOWN;
59 /******************************************************************************
60 ** AHIsub_SetSound ************************************************************
61 ******************************************************************************/
63 ULONG
64 _AHIsub_SetSound( UWORD channel,
65 UWORD sound,
66 ULONG offset,
67 LONG length,
68 struct AHIAudioCtrlDrv* AudioCtrl,
69 ULONG flags,
70 struct DriverBase* AHIsubBase )
72 return AHIS_UNKNOWN;
76 /******************************************************************************
77 ** AHIsub_SetEffect ***********************************************************
78 ******************************************************************************/
80 ULONG
81 _AHIsub_SetEffect( APTR effect,
82 struct AHIAudioCtrlDrv* AudioCtrl,
83 struct DriverBase* AHIsubBase )
85 return AHIS_UNKNOWN;
89 /******************************************************************************
90 ** AHIsub_LoadSound ***********************************************************
91 ******************************************************************************/
93 ULONG
94 _AHIsub_LoadSound( UWORD sound,
95 ULONG type,
96 APTR info,
97 struct AHIAudioCtrlDrv* AudioCtrl,
98 struct DriverBase* AHIsubBase )
100 return AHIS_UNKNOWN;
104 /******************************************************************************
105 ** AHIsub_UnloadSound *********************************************************
106 ******************************************************************************/
108 ULONG
109 _AHIsub_UnloadSound( UWORD sound,
110 struct AHIAudioCtrlDrv* AudioCtrl,
111 struct DriverBase* AHIsubBase )
113 return AHIS_UNKNOWN;