2 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
3 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 (C) Copyright xxxx-2009 Davy Wentzler.
10 (C) Copyright 2009-2010 Stephen Jones.
12 The Initial Developer of the Original Code is Davy Wentzler.
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
)
40 /******************************************************************************
41 ** AHIsub_SetFreq *************************************************************
42 ******************************************************************************/
45 _AHIsub_SetFreq(UWORD channel
,
47 struct AHIAudioCtrlDrv
* AudioCtrl
,
49 struct DriverBase
* AHIsubBase
)
55 /******************************************************************************
56 ** AHIsub_SetSound ************************************************************
57 ******************************************************************************/
60 _AHIsub_SetSound(UWORD channel
,
64 struct AHIAudioCtrlDrv
* AudioCtrl
,
66 struct DriverBase
* AHIsubBase
)
72 /******************************************************************************
73 ** AHIsub_SetEffect ***********************************************************
74 ******************************************************************************/
77 _AHIsub_SetEffect(APTR effect
,
78 struct AHIAudioCtrlDrv
* AudioCtrl
,
79 struct DriverBase
* AHIsubBase
)
85 /******************************************************************************
86 ** AHIsub_LoadSound ***********************************************************
87 ******************************************************************************/
90 _AHIsub_LoadSound(UWORD sound
,
93 struct AHIAudioCtrlDrv
* AudioCtrl
,
94 struct DriverBase
* AHIsubBase
)
100 /******************************************************************************
101 ** AHIsub_UnloadSound *********************************************************
102 ******************************************************************************/
105 _AHIsub_UnloadSound(UWORD sound
,
106 struct AHIAudioCtrlDrv
* AudioCtrl
,
107 struct DriverBase
* AHIsubBase
)