grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / AHI / Drivers / CMI8738 / accel.c
blobddb5046de710b83b97b6bda614f6d80b751c5b75
1 /*
2 The contents of this file are subject to the AROS Public License Version 1.1 (the "License");
3 you may not use this file except in compliance with the License. You may obtain a copy of the License at
4 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 The Original Code is written by Davy Wentzler.
12 #ifdef __AROS__
13 #define DEBUG 1
14 #include <aros/debug.h>
15 #endif
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 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
38 return AHIS_UNKNOWN;
42 /******************************************************************************
43 ** AHIsub_SetFreq *************************************************************
44 ******************************************************************************/
46 ULONG
47 _AHIsub_SetFreq( UWORD channel,
48 ULONG freq,
49 struct AHIAudioCtrlDrv* AudioCtrl,
50 ULONG flags,
51 struct DriverBase* AHIsubBase )
53 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
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 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
74 return AHIS_UNKNOWN;
78 /******************************************************************************
79 ** AHIsub_SetEffect ***********************************************************
80 ******************************************************************************/
82 ULONG
83 _AHIsub_SetEffect( APTR effect,
84 struct AHIAudioCtrlDrv* AudioCtrl,
85 struct DriverBase* AHIsubBase )
87 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
89 return AHIS_UNKNOWN;
93 /******************************************************************************
94 ** AHIsub_LoadSound ***********************************************************
95 ******************************************************************************/
97 ULONG
98 _AHIsub_LoadSound( UWORD sound,
99 ULONG type,
100 APTR info,
101 struct AHIAudioCtrlDrv* AudioCtrl,
102 struct DriverBase* AHIsubBase )
104 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
106 return AHIS_UNKNOWN;
110 /******************************************************************************
111 ** AHIsub_UnloadSound *********************************************************
112 ******************************************************************************/
114 ULONG
115 _AHIsub_UnloadSound( UWORD sound,
116 struct AHIAudioCtrlDrv* AudioCtrl,
117 struct DriverBase* AHIsubBase )
119 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__));
121 return AHIS_UNKNOWN;