home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / realtime_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  1.4 KB  |  52 lines

  1. #ifndef  CLIB_REALTIME_PROTOS_H
  2. #define  CLIB_REALTIME_PROTOS_H
  3.  
  4. /*
  5. **    $VER: realtime_protos.h 40.1 (17.5.1996)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20. #ifndef  LIBRARIES_REALTIME_H
  21. #include <libraries/realtime.h>
  22. #endif
  23. #ifndef  UTILITY_TAGITEM_H
  24. #include <utility/tagitem.h>
  25. #endif
  26. /*--- functions in V37 or higher (Release 2.04) ---*/
  27.  
  28. /* Locks */
  29.  
  30. APTR LockRealTime( ULONG lockType );
  31. VOID UnlockRealTime( APTR lock );
  32.  
  33. /* Conductor */
  34.  
  35. struct Player *CreatePlayerA( CONST struct TagItem *tagList );
  36. struct Player *CreatePlayer( Tag tag1, ... );
  37. VOID DeletePlayer( struct Player *player );
  38. BOOL SetPlayerAttrsA( struct Player *player, CONST struct TagItem *tagList );
  39. BOOL SetPlayerAttrs( struct Player *player, Tag tag1, ... );
  40. LONG SetConductorState( struct Player *player, ULONG state, LONG time );
  41. BOOL ExternalSync( struct Player *player, LONG minTime, LONG maxTime );
  42. struct Conductor *NextConductor( CONST struct Conductor *previousConductor );
  43. struct Conductor *FindConductor( CONST_STRPTR name );
  44. ULONG GetPlayerAttrsA( CONST struct Player *player, CONST struct TagItem *tagList );
  45. ULONG GetPlayerAttrs( CONST struct Player *player, Tag tag1, ... );
  46.  
  47. #ifdef __cplusplus
  48. }
  49. #endif /* __cplusplus */
  50.  
  51. #endif   /* CLIB_REALTIME_PROTOS_H */
  52.