Lines Matching defs:total
98 sf_count_t total = 0 ;
104 if (total + readcount > sfinfo.frames)
105 readcount = sfinfo.frames - total ;
109 out (total + k, ch) = buffer [k * sfinfo.channels + ch] ;
112 total += readcount ;
113 } while (readcount > 0 && total < sfinfo.frames) ;
190 long total = 0 ;
197 if (total + writecount > rows)
198 writecount = rows - total ;
202 buffer [k * sfinfo.channels + ch] = data (total + k, ch) ;
208 total += writecount ;
209 } while (writecount > 0 && total < rows) ;