Changeset 986:dfa600647b4a in roaraudio


Ignore:
Timestamp:
12/17/08 21:17:11 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added constant and struct for roar command gettimeofday

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio/proto.h

    r772 r986  
    7979#define ROAR_CMD_PASSFH        30 /* send an fh via UNIX Domain Socket to the roard */ 
    8080 
     81#define ROAR_CMD_GETTIMEOFDAY  31 
     82 
    8183 
    8284#define ROAR_CMD_EPERM        252 /* error: permition denided */ 
     
    108110#define ROAR_ATTACH_OUTPUT 3 /* attach a new output stream to the server */ 
    109111 
     112 
     113struct roar_timeofday { 
     114 int64_t  t_sec;   // secund part of system time 
     115 uint64_t t_nsec;  // nano-secund part of system time // we use a int64 here so all types are int64... 
     116 uint64_t c_nhz;   // system hi res timer freq in nHz 
     117 uint64_t d_nsps;  // clock drift in nano secs per sec 
     118}; 
     119 
    110120#endif 
    111121 
Note: See TracChangeset for help on using the changeset viewer.