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.
14 #include <aros/debug.h>
19 #include <devices/ahi.h>
20 #include <libraries/ahi_sub.h>
24 /******************************************************************************
25 ** AHIsub_SetVol **************************************************************
26 ******************************************************************************/
29 _AHIsub_SetVol( UWORD channel
,
32 struct AHIAudioCtrlDrv
* AudioCtrl
,
34 struct DriverBase
* AHIsubBase
)
36 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));
42 /******************************************************************************
43 ** AHIsub_SetFreq *************************************************************
44 ******************************************************************************/
47 _AHIsub_SetFreq( UWORD channel
,
49 struct AHIAudioCtrlDrv
* AudioCtrl
,
51 struct DriverBase
* AHIsubBase
)
53 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));
59 /******************************************************************************
60 ** AHIsub_SetSound ************************************************************
61 ******************************************************************************/
64 _AHIsub_SetSound( UWORD channel
,
68 struct AHIAudioCtrlDrv
* AudioCtrl
,
70 struct DriverBase
* AHIsubBase
)
72 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));
78 /******************************************************************************
79 ** AHIsub_SetEffect ***********************************************************
80 ******************************************************************************/
83 _AHIsub_SetEffect( APTR effect
,
84 struct AHIAudioCtrlDrv
* AudioCtrl
,
85 struct DriverBase
* AHIsubBase
)
87 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));
93 /******************************************************************************
94 ** AHIsub_LoadSound ***********************************************************
95 ******************************************************************************/
98 _AHIsub_LoadSound( UWORD sound
,
101 struct AHIAudioCtrlDrv
* AudioCtrl
,
102 struct DriverBase
* AHIsubBase
)
104 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));
110 /******************************************************************************
111 ** AHIsub_UnloadSound *********************************************************
112 ******************************************************************************/
115 _AHIsub_UnloadSound( UWORD sound
,
116 struct AHIAudioCtrlDrv
* AudioCtrl
,
117 struct DriverBase
* AHIsubBase
)
119 D(bug("[CMI8738]: %s()\n", __PRETTY_FUNCTION__
));