Changeset 2911:98117ebece14 in roaraudio


Ignore:
Timestamp:
10/12/09 21:36:01 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed bug with sysclock driver and low cfreq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_sysclock.c

    r2422 r2911  
    9191 struct driver_sysclock * self = vio->inst; 
    9292 struct timeval now; 
    93  long long diff = (1000000 * count / self->bps); 
     93 long long diff = (1000000LL * count / (long long)self->bps); 
    9494 long long ago; 
    9595 
     
    109109 self->last_wanted = diff; 
    110110 
     111 ROAR_DBG("driver_sysclock_write(*): diff=%lli", diff); 
     112 
    111113 if ( diff > 0 ) 
    112114  usleep(diff); 
Note: See TracChangeset for help on using the changeset viewer.