1 #ifndef AMBIENT_SOUND_PROTOS_H
    2 #define AMBIENT_SOUND_PROTOS_H
    3 /*
    4  * ambient_sound.library C prototypes
    5  * ----------------------------------
    6  * © 2001-2004 by David Gerber <zapek@morphos.net>
    7  * All Rights Reserved
    8  */
    9 
   10 #ifndef EXEC_TYPES_H
   11 #include <exec/types.h>
   12 #endif
   13 
   14 
   15 #ifdef __cplusplus
   16 extern "C" {
   17 #endif /* __cplusplus */
   18 
   19 APTR ASound_Create(ULONG mode, struct TagItem *tags);
   20 #if !defined(USE_INLINE_STDARG)
   21 APTR ASound_CreateTags(ULONG mode, ULONG tag1, ...);
   22 #endif
   23 void ASound_Delete(APTR ctx);
   24 
   25 ULONG ASound_PlaySync(APTR ctx, APTR buf, ULONG len);
   26 ULONG ASound_PlayAsync(APTR ctx, APTR buf, ULONG len);
   27 
   28 ULONG ASound_Wait(APTR ctx);
   29 void ASound_Abort(APTR ctx);
   30 
   31 APTR ASound_GetAttr(APTR ctx, ULONG attr);
   32 
   33 #ifdef __cplusplus
   34 }
   35 #endif
   36 
   37 #endif /* AMBIENT_SOUND_PROTOS_H */