home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / realtime_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  1.4 KB  |  57 lines

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