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 <devices/ahi.h>
15 #include <libraries/ahi_sub.h>
17 #include "library_card.h"
19 /******************************************************************************
20 ** AHIsub_SetVol **************************************************************
21 ******************************************************************************/
24 _AHIsub_SetVol( UWORD channel
,
27 struct AHIAudioCtrlDrv
* AudioCtrl
,
29 struct DriverBase
* AHIsubBase
)
35 /******************************************************************************
36 ** AHIsub_SetFreq *************************************************************
37 ******************************************************************************/
40 _AHIsub_SetFreq( UWORD channel
,
42 struct AHIAudioCtrlDrv
* AudioCtrl
,
44 struct DriverBase
* AHIsubBase
)
50 /******************************************************************************
51 ** AHIsub_SetSound ************************************************************
52 ******************************************************************************/
55 _AHIsub_SetSound( UWORD channel
,
59 struct AHIAudioCtrlDrv
* AudioCtrl
,
61 struct DriverBase
* AHIsubBase
)
67 /******************************************************************************
68 ** AHIsub_SetEffect ***********************************************************
69 ******************************************************************************/
72 _AHIsub_SetEffect( APTR effect
,
73 struct AHIAudioCtrlDrv
* AudioCtrl
,
74 struct DriverBase
* AHIsubBase
)
80 /******************************************************************************
81 ** AHIsub_LoadSound ***********************************************************
82 ******************************************************************************/
85 _AHIsub_LoadSound( UWORD sound
,
88 struct AHIAudioCtrlDrv
* AudioCtrl
,
89 struct DriverBase
* AHIsubBase
)
95 /******************************************************************************
96 ** AHIsub_UnloadSound *********************************************************
97 ******************************************************************************/
100 _AHIsub_UnloadSound( UWORD sound
,
101 struct AHIAudioCtrlDrv
* AudioCtrl
,
102 struct DriverBase
* AHIsubBase
)