Changeset 5068:f11a0c0bacdd in roaraudio for libroar/time.c


Ignore:
Timestamp:
06/19/11 01:58:05 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Support non-blocking latency request in VS API (Closes: #97)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/time.c

    r5066 r5068  
    147147#endif 
    148148 
     149 ROAR_DBG("roar_clock_gettime(rt=%p, clock=%i) = ?", rt, clock); 
     150 
    149151 if ( rt == NULL ) { 
    150152  roar_err_set(ROAR_ERROR_FAULT); 
     
    159161 switch (clock) { 
    160162  case ROAR_CLOCK_REALTIME: 
     163    ROAR_DBG("roar_clock_gettime(rt=%p, clock=(%i)ROAR_CLOCK_REALTIME) = -1", rt, clock); 
    161164#ifdef ROAR_HAVE_GETTIMEOFDAY 
    162165    if ( gettimeofday(&tv, NULL) == -1 ) { 
     
    179182 } 
    180183 
     184 ROAR_DBG("roar_clock_gettime(rt=%p, clock=%i) = -1 // error=NOTSUP", rt, clock); 
    181185 roar_err_set(ROAR_ERROR_NOTSUP); 
    182186 return -1; 
Note: See TracChangeset for help on using the changeset viewer.