Lines Matching defs:writecount
218 int bufferlen, writecount, thiswrite ;
239 { writecount = (len >= bufferlen) ? bufferlen : (int) len ;
240 writecount /= psf->sf.channels ;
241 writecount *= psf->sf.channels ;
243 dither_short (ptr, (short*) pdither->buffer, writecount / psf->sf.channels, psf->sf.channels) ;
245 thiswrite = (int) pdither->write_short (psf, (short*) pdither->buffer, writecount) ;
248 if (thiswrite < writecount)
258 int bufferlen, writecount, thiswrite ;
285 { writecount = (len >= bufferlen) ? bufferlen : (int) len ;
286 writecount /= psf->sf.channels ;
287 writecount *= psf->sf.channels ;
289 dither_int (ptr, (int*) pdither->buffer, writecount / psf->sf.channels, psf->sf.channels) ;
291 thiswrite = (int) pdither->write_int (psf, (int*) pdither->buffer, writecount) ;
294 if (thiswrite < writecount)
304 int bufferlen, writecount, thiswrite ;
330 { writecount = (len >= bufferlen) ? bufferlen : (int) len ;
331 writecount /= psf->sf.channels ;
332 writecount *= psf->sf.channels ;
334 dither_float (ptr, (float*) pdither->buffer, writecount / psf->sf.channels, psf->sf.channels) ;
336 thiswrite = (int) pdither->write_float (psf, (float*) pdither->buffer, writecount) ;
339 if (thiswrite < writecount)
349 int bufferlen, writecount, thiswrite ;
376 { writecount = (len >= bufferlen) ? bufferlen : (int) len ;
377 writecount /= psf->sf.channels ;
378 writecount *= psf->sf.channels ;
380 dither_double (ptr, (double*) pdither->buffer, writecount / psf->sf.channels, psf->sf.channels) ;
382 thiswrite = (int) pdither->write_double (psf, (double*) pdither->buffer, writecount) ;
385 if (thiswrite < writecount)