Changeset 5068:f11a0c0bacdd in roaraudio for libroar/time.c
- Timestamp:
- 06/19/11 01:58:05 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/time.c
r5066 r5068 147 147 #endif 148 148 149 ROAR_DBG("roar_clock_gettime(rt=%p, clock=%i) = ?", rt, clock); 150 149 151 if ( rt == NULL ) { 150 152 roar_err_set(ROAR_ERROR_FAULT); … … 159 161 switch (clock) { 160 162 case ROAR_CLOCK_REALTIME: 163 ROAR_DBG("roar_clock_gettime(rt=%p, clock=(%i)ROAR_CLOCK_REALTIME) = -1", rt, clock); 161 164 #ifdef ROAR_HAVE_GETTIMEOFDAY 162 165 if ( gettimeofday(&tv, NULL) == -1 ) { … … 179 182 } 180 183 184 ROAR_DBG("roar_clock_gettime(rt=%p, clock=%i) = -1 // error=NOTSUP", rt, clock); 181 185 roar_err_set(ROAR_ERROR_NOTSUP); 182 186 return -1;
Note: See TracChangeset
for help on using the changeset viewer.