Changeset 5065:18cdc8c3a1ab in roaraudio for include


Ignore:
Timestamp:
06/18/11 04:07:49 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_clock_gettime()

Location:
include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/roarfeatures.h

    r5010 r5065  
    4848#define ROAR_FT_FUNC_PANIC 
    4949#define ROAR_FT_FUNC_RESET 
     50#define ROAR_FT_FUNC_CLOCK_GETTIME 
    5051#define ROAR_FT_FEATURE_VS 
    5152#define ROAR_FT_FEATURE_VS_FILE 
  • include/libroar/roartime.h

    r5031 r5065  
    5151int roar_get_time  (struct roar_connection * con, struct roar_time * time); 
    5252 
     53int roar_clock_gettime(struct roar_time * rt, int clock); 
     54 
    5355#endif 
    5456 
  • include/roaraudio/proto.h

    r5031 r5065  
    195195#define ROAR_ITST_UIURL             10 
    196196 
     197// IDs for diffrent clocks: 
     198#define ROAR_CLOCK_DEFAULT          -2 
     199#define ROAR_CLOCK_UNKNOWN          -1 
     200#define ROAR_CLOCK_REALTIME          1 
     201#define ROAR_CLOCK_MONOTONIC         2 
     202#define ROAR_CLOCK_UPTIME            3 
     203 
    197204// old: do not use. 
    198205struct roar_timeofday { 
Note: See TracChangeset for help on using the changeset viewer.