Changeset 4717:202d623df156 in roaraudio


Ignore:
Timestamp:
01/12/11 12:46:45 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some debug stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vs.c

    r4708 r4717  
    417417  _seterrre(); 
    418418 } else { 
    419   if ( !(vss->flags & FLAG_BUFFERED) ) 
     419  if ( !(vss->flags & FLAG_BUFFERED) ) { 
     420   //printf("A: vss->writec=%zu, ret=%zi\n", vss->writec, ret); 
    420421   vss->writec += ret; 
    421  } 
    422  
     422  } 
     423 } 
     424 
     425 //printf("B: vss->writec=%zu, ret=%zi\n", vss->writec, ret); 
    423426 return ret; 
    424427} 
     
    666669 signed long long int lag; 
    667670 
     671// printf("pos=%zi\n", pos); 
     672 
    668673 _initerr(); 
    669674 
     
    683688  lioc = vss->readc; 
    684689 } else { 
     690  //printf("writec=%zu\n", vss->writec); 
    685691  lioc = vss->writec; 
    686692 } 
     
    695701 lpos = (lioc*8) / bps; 
    696702 
    697 // printf("pos=%zi, lpos=%zi, bps=%zi, diff[lpos-pos]=%zi\n", pos, lpos, bps, (lpos - pos)); 
     703 //printf("pos=%zi, lpos=%zi, bps=%zi, diff[lpos-pos]=%zi\n", pos, lpos, bps, (lpos - pos)); 
    698704 
    699705 lag = (signed long long int)lpos - (signed long long int)pos; 
Note: See TracChangeset for help on using the changeset viewer.