Importing CMI8738-20072011
[AROS.git] / workbench / devs / AHI / Drivers / CMI8738 / accel.c
blobfdd2dbd61dc88ef43a94fcce43f4ec703a345b61
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 #include <config.h>
14 #include <devices/ahi.h>
15 #include <libraries/ahi_sub.h>
17 #include "library_card.h"
19 /******************************************************************************
20 ** AHIsub_SetVol **************************************************************
21 ******************************************************************************/
23 ULONG
24 _AHIsub_SetVol( UWORD channel,
25 Fixed volume,
26 sposition pan,
27 struct AHIAudioCtrlDrv* AudioCtrl,
28 ULONG flags,
29 struct DriverBase* AHIsubBase )
31 return AHIS_UNKNOWN;
35 /******************************************************************************
36 ** AHIsub_SetFreq *************************************************************
37 ******************************************************************************/
39 ULONG
40 _AHIsub_SetFreq( UWORD channel,
41 ULONG freq,
42 struct AHIAudioCtrlDrv* AudioCtrl,
43 ULONG flags,
44 struct DriverBase* AHIsubBase )
46 return AHIS_UNKNOWN;
50 /******************************************************************************
51 ** AHIsub_SetSound ************************************************************
52 ******************************************************************************/
54 ULONG
55 _AHIsub_SetSound( UWORD channel,
56 UWORD sound,
57 ULONG offset,
58 LONG length,
59 struct AHIAudioCtrlDrv* AudioCtrl,
60 ULONG flags,
61 struct DriverBase* AHIsubBase )
63 return AHIS_UNKNOWN;
67 /******************************************************************************
68 ** AHIsub_SetEffect ***********************************************************
69 ******************************************************************************/
71 ULONG
72 _AHIsub_SetEffect( APTR effect,
73 struct AHIAudioCtrlDrv* AudioCtrl,
74 struct DriverBase* AHIsubBase )
76 return AHIS_UNKNOWN;
80 /******************************************************************************
81 ** AHIsub_LoadSound ***********************************************************
82 ******************************************************************************/
84 ULONG
85 _AHIsub_LoadSound( UWORD sound,
86 ULONG type,
87 APTR info,
88 struct AHIAudioCtrlDrv* AudioCtrl,
89 struct DriverBase* AHIsubBase )
91 return AHIS_UNKNOWN;
95 /******************************************************************************
96 ** AHIsub_UnloadSound *********************************************************
97 ******************************************************************************/
99 ULONG
100 _AHIsub_UnloadSound( UWORD sound,
101 struct AHIAudioCtrlDrv* AudioCtrl,
102 struct DriverBase* AHIsubBase )
104 return AHIS_UNKNOWN;