1 #ifndef CLIB_REALTIME_PROTOS_H 2 #define CLIB_REALTIME_PROTOS_H 3 4 /* 5 realtime.library C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef LIBRARIES_REALTIME_H 15 # include <libraries/realtime.h> 16 #endif 17 18 #ifndef UTILITY_TAGITEM_H 19 # include <utility/tagitem.h> 20 #endif 21 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 APTR LockRealTime( ULONG lockType ); 28 VOID UnlockRealTime( APTR lock ); 29 30 struct Player *CreatePlayerA( CONST struct TagItem *tagList ); 31 #if !defined(USE_INLINE_STDARG) 32 struct Player *CreatePlayer( Tag tag1, ... ); 33 #endif 34 VOID DeletePlayer( struct Player *player ); 35 BOOL SetPlayerAttrsA( struct Player *player, CONST struct TagItem *tagList ); 36 #if !defined(USE_INLINE_STDARG) 37 BOOL SetPlayerAttrs( struct Player *player, Tag tag1, ... ); 38 #endif 39 LONG SetConductorState( struct Player *player, ULONG state, LONG time ); 40 BOOL ExternalSync( struct Player *player, LONG minTime, LONG maxTime ); 41 struct Conductor *NextConductor( CONST struct Conductor *previousConductor ); 42 struct Conductor *FindConductor( CONST_STRPTR name ); 43 ULONG GetPlayerAttrsA( CONST struct Player *player, CONST struct TagItem *tagList ); 44 #if !defined(USE_INLINE_STDARG) 45 ULONG GetPlayerAttrs( CONST struct Player *player, Tag tag1, ... ); 46 #endif 47 48 #ifdef __cplusplus 49 } 50 #endif /* __cplusplus */ 51 52 53 #endif /* CLIB_REALTIME_PROTOS_H */