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.
20 #include <devices/ahi.h>
21 #include <libraries/ahi_sub.h>
23 #include "library_card.h"
25 /******************************************************************************
26 ** AHIsub_SetVol **************************************************************
27 ******************************************************************************/
30 _AHIsub_SetVol( UWORD channel
,
33 struct AHIAudioCtrlDrv
* AudioCtrl
,
35 struct DriverBase
* AHIsubBase
)
41 /******************************************************************************
42 ** AHIsub_SetFreq *************************************************************
43 ******************************************************************************/
46 _AHIsub_SetFreq( UWORD channel
,
48 struct AHIAudioCtrlDrv
* AudioCtrl
,
50 struct DriverBase
* AHIsubBase
)
56 /******************************************************************************
57 ** AHIsub_SetSound ************************************************************
58 ******************************************************************************/
61 _AHIsub_SetSound( UWORD channel
,
65 struct AHIAudioCtrlDrv
* AudioCtrl
,
67 struct DriverBase
* AHIsubBase
)
73 /******************************************************************************
74 ** AHIsub_SetEffect ***********************************************************
75 ******************************************************************************/
78 _AHIsub_SetEffect( APTR effect
,
79 struct AHIAudioCtrlDrv
* AudioCtrl
,
80 struct DriverBase
* AHIsubBase
)
86 /******************************************************************************
87 ** AHIsub_LoadSound ***********************************************************
88 ******************************************************************************/
91 _AHIsub_LoadSound( UWORD sound
,
94 struct AHIAudioCtrlDrv
* AudioCtrl
,
95 struct DriverBase
* AHIsubBase
)
101 /******************************************************************************
102 ** AHIsub_UnloadSound *********************************************************
103 ******************************************************************************/
106 _AHIsub_UnloadSound( UWORD sound
,
107 struct AHIAudioCtrlDrv
* AudioCtrl
,
108 struct DriverBase
* AHIsubBase
)