grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / AHI / Device / audioctrl.h
blob5c09f6e1ad8f185d5fec0f2ef9519c81bc810f15
1 /*
2 AHI - Hardware independent audio subsystem
3 Copyright (C) 1996-2005 Martin Blom <martin@blom.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
18 MA 02139, USA.
21 #ifndef ahi_audioctrl_h
22 #define ahi_audioctrl_h
24 #include "ahi_def.h"
26 struct AHIAudioCtrl*
27 _AHI_AllocAudioA( struct TagItem* tags,
28 struct AHIBase* AHIBase );
30 ULONG
31 _AHI_FreeAudio( struct AHIPrivAudioCtrl* audioctrl,
32 struct AHIBase* AHIBase );
34 ULONG
35 _AHI_KillAudio( struct AHIBase* AHIBase );
37 ULONG
38 _AHI_ControlAudioA( struct AHIPrivAudioCtrl* audioctrl,
39 struct TagItem* tags,
40 struct AHIBase* AHIBase );
42 struct AHIPrivAudioCtrl*
43 CreateAudioCtrl( struct TagItem *tags );
45 #endif /* ahi_audioctrl_h */