2 AHI - Hardware independent audio subsystem
3 Copyright (C) 2017 The AROS Dev Team
4 Copyright (C) 1996-2005 Martin Blom <martin@blom.org>
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public
17 License along with this library; if not, write to the
18 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
28 _AHI_SetVol ( UWORD channel
,
31 struct AHIPrivAudioCtrl
* audioctrl
,
33 struct AHIBase
* AHIBase
);
37 _AHI_SetFreq ( UWORD channel
,
39 struct AHIPrivAudioCtrl
* audioctrl
,
41 struct AHIBase
* AHIBase
);
45 _AHI_SetSound ( UWORD channel
,
49 struct AHIPrivAudioCtrl
* audioctrl
,
51 struct AHIBase
* AHIBase
);
55 _AHI_SetEffect( IPTR
* effect
,
56 struct AHIPrivAudioCtrl
* audioctrl
,
57 struct AHIBase
* AHIBase
);
61 _AHI_LoadSound( UWORD sound
,
64 struct AHIPrivAudioCtrl
* audioctrl
,
65 struct AHIBase
* AHIBase
);
69 _AHI_UnloadSound( UWORD sound
,
70 struct AHIPrivAudioCtrl
* audioctrl
,
71 struct AHIBase
* AHIBase
);
75 _AHI_PlayA( struct AHIPrivAudioCtrl
* audioctrl
,
77 struct AHIBase
* AHIBase
);
81 _AHI_SampleFrameSize( ULONG sampletype
,
82 struct AHIBase
* AHIBase
);
84 #endif /* ahi_sound_h */