1 #ifndef CLIB_AHISUB_PROTOS_H
    2 #define CLIB_AHISUB_PROTOS_H
    3 
    4 /*
    5 **	$VER: ahi_sub_protos.h 4.1 (2.4.97)
    6 **	:ts=8 (TAB SIZE: 8)
    7 **
    8 **	C prototypes. For use with 32 bit integers only.
    9 **
   10 **	(C) Copyright 1994-1997 Martin Blom
   11 **	All Rights Reserved.
   12 **
   13 */
   14 
   15 #ifndef EXEC_TYPES_H
   16 #include <exec/types.h>
   17 #endif
   18 #ifndef  UTILITY_TAGITEM_H
   19 #include <utility/tagitem.h>
   20 #endif
   21 #ifndef  LIBRARIES_AHISUB_H
   22 #include <libraries/ahi_sub.h>
   23 #endif
   24 
   25 #ifdef __cplusplus
   26 extern "C" {
   27 #endif /* __cplusplus */
   28 
   29 ULONG AHIsub_AllocAudio( struct TagItem *, struct AHIAudioCtrlDrv * );
   30 void AHIsub_FreeAudio( struct AHIAudioCtrlDrv * );
   31 void AHIsub_Disable( struct AHIAudioCtrlDrv * );
   32 void AHIsub_Enable( struct AHIAudioCtrlDrv * );
   33 ULONG AHIsub_Start(ULONG, struct AHIAudioCtrlDrv * );
   34 ULONG AHIsub_Update(ULONG, struct AHIAudioCtrlDrv * );
   35 ULONG AHIsub_Stop( ULONG, struct AHIAudioCtrlDrv * );
   36 ULONG AHIsub_SetVol( UWORD, Fixed, sposition, struct AHIAudioCtrlDrv *, ULONG );
   37 ULONG AHIsub_SetFreq( UWORD, ULONG, struct AHIAudioCtrlDrv *, ULONG );
   38 ULONG AHIsub_SetSound( UWORD, UWORD, ULONG, LONG, struct AHIAudioCtrlDrv *, ULONG );
   39 ULONG AHIsub_SetEffect( APTR, struct AHIAudioCtrlDrv * );
   40 ULONG AHIsub_LoadSound( UWORD, ULONG, APTR, struct AHIAudioCtrlDrv * );
   41 ULONG AHIsub_UnloadSound( UWORD, struct AHIAudioCtrlDrv * );
   42 LONG AHIsub_GetAttr( ULONG, LONG, LONG, struct TagItem *, struct AHIAudioCtrlDrv * );
   43 LONG AHIsub_HardwareControl( ULONG, LONG, struct AHIAudioCtrlDrv *);
   44 
   45 #ifdef __cplusplus
   46 }
   47 #endif /* __cplusplus */
   48 
   49 #endif /* CLIB_AHI_PROTOS_H */