3 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
4 http://www.aros.org/license.html
6 Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
7 ANY KIND, either express or implied. See the License for the specific language governing rights and
8 limitations under the License.
10 The Original Code is (C) Copyright 2004-2011 Ross Vumbaca.
12 The Initial Developer of the Original Code is Ross Vumbaca.
18 #include <aros/debug.h>
20 #include <devices/ahi.h>
21 #include <libraries/ahi_sub.h>
25 /******************************************************************************
26 ** AHIsub_SetVol **************************************************************
27 ******************************************************************************/
30 _AHIsub_SetVol( UWORD channel
,
33 struct AHIAudioCtrlDrv
* AudioCtrl
,
35 struct DriverBase
* AHIsubBase
)
37 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));
43 /******************************************************************************
44 ** AHIsub_SetFreq *************************************************************
45 ******************************************************************************/
48 _AHIsub_SetFreq( UWORD channel
,
50 struct AHIAudioCtrlDrv
* AudioCtrl
,
52 struct DriverBase
* AHIsubBase
)
54 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));
60 /******************************************************************************
61 ** AHIsub_SetSound ************************************************************
62 ******************************************************************************/
65 _AHIsub_SetSound( UWORD channel
,
69 struct AHIAudioCtrlDrv
* AudioCtrl
,
71 struct DriverBase
* AHIsubBase
)
73 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));
79 /******************************************************************************
80 ** AHIsub_SetEffect ***********************************************************
81 ******************************************************************************/
84 _AHIsub_SetEffect( APTR effect
,
85 struct AHIAudioCtrlDrv
* AudioCtrl
,
86 struct DriverBase
* AHIsubBase
)
88 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));
94 /******************************************************************************
95 ** AHIsub_LoadSound ***********************************************************
96 ******************************************************************************/
99 _AHIsub_LoadSound( UWORD sound
,
102 struct AHIAudioCtrlDrv
* AudioCtrl
,
103 struct DriverBase
* AHIsubBase
)
105 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));
111 /******************************************************************************
112 ** AHIsub_UnloadSound *********************************************************
113 ******************************************************************************/
116 _AHIsub_UnloadSound( UWORD sound
,
117 struct AHIAudioCtrlDrv
* AudioCtrl
,
118 struct DriverBase
* AHIsubBase
)
120 D(bug("[SB128]: %s()\n", __PRETTY_FUNCTION__
));