2 #include <devices/ahi.h>
3 #include <libraries/ahi_sub.h>
5 #include "DriverData.h"
7 /******************************************************************************
8 ** AHIsub_SetVol **************************************************************
9 ******************************************************************************/
12 _AHIsub_SetVol( UWORD channel
,
15 struct AHIAudioCtrlDrv
* AudioCtrl
,
17 struct DriverBase
* AHIsubBase
)
19 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;
25 /******************************************************************************
26 ** AHIsub_SetFreq *************************************************************
27 ******************************************************************************/
30 _AHIsub_SetFreq( UWORD channel
,
32 struct AHIAudioCtrlDrv
* AudioCtrl
,
34 struct DriverBase
* AHIsubBase
)
36 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;
42 /******************************************************************************
43 ** AHIsub_SetSound ************************************************************
44 ******************************************************************************/
47 _AHIsub_SetSound( UWORD channel
,
51 struct AHIAudioCtrlDrv
* AudioCtrl
,
53 struct DriverBase
* AHIsubBase
)
55 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;
61 /******************************************************************************
62 ** AHIsub_SetEffect ***********************************************************
63 ******************************************************************************/
66 _AHIsub_SetEffect( APTR effect
,
67 struct AHIAudioCtrlDrv
* AudioCtrl
,
68 struct DriverBase
* AHIsubBase
)
70 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;
76 /******************************************************************************
77 ** AHIsub_LoadSound ***********************************************************
78 ******************************************************************************/
81 _AHIsub_LoadSound( UWORD sound
,
84 struct AHIAudioCtrlDrv
* AudioCtrl
,
85 struct DriverBase
* AHIsubBase
)
87 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;
93 /******************************************************************************
94 ** AHIsub_UnloadSound *********************************************************
95 ******************************************************************************/
98 _AHIsub_UnloadSound( UWORD sound
,
99 struct AHIAudioCtrlDrv
* AudioCtrl
,
100 struct DriverBase
* AHIsubBase
)
102 struct AROSBase
* AROSBase
= (struct AROSBase
*) AHIsubBase
;