Lines Matching refs:wrote
208 int size, num_read, wrote; in play_samples() local
272 wrote = compress_write(compress, buffer, num_read); in play_samples()
273 if (wrote < 0) { in play_samples()
274 fprintf(stderr, "Error %d playing sample\n", wrote); in play_samples()
278 if (wrote != num_read) { in play_samples()
280 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote); in play_samples()
295 wrote = compress_write(compress, buffer, num_read); in play_samples()
296 if (wrote < 0) { in play_samples()
301 if (wrote != num_read) { in play_samples()
303 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote); in play_samples()
307 printf("%s: wrote %d\n", __func__, wrote); in play_samples()