Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Device / requester.h
blobcc92fc1c8497115cf91bf3d6563142e213349780
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_requester_h
22 #define ahi_requester_h
24 #include "ahi_def.h"
26 struct AHIAudioModeRequester*
27 _AHI_AllocAudioRequestA( struct TagItem* tags,
28 struct AHIBase* AHIBase );
30 ULONG
31 _AHI_AudioRequestA( struct AHIAudioModeRequester* req_in,
32 struct TagItem* tags,
33 struct AHIBase* AHIBase );
35 void
36 _AHI_FreeAudioRequest( struct AHIAudioModeRequester* req,
37 struct AHIBase* AHIBase);
39 struct Gadget;
41 LONG
42 IndexToFrequency( struct Gadget *gad, WORD level );
44 #endif /* ahi_requester_h */