Lines Matching refs:compress
138 static int print_time(struct compress *compress) in print_time() argument
143 if (compress_get_hpointer(compress, &avail, &tstamp) != 0) { in print_time()
145 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in print_time()
204 struct compress *compress; in play_samples() local
251 compress = compress_open(card, device, COMPRESS_IN, &config); in play_samples()
252 if (!compress || !is_compress_ready(compress)) { in play_samples()
255 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
272 wrote = compress_write(compress, buffer, num_read); in play_samples()
275 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
288 compress_start(compress); in play_samples()
295 wrote = compress_write(compress, buffer, num_read); in play_samples()
298 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
306 print_time(compress); in play_samples()
315 compress_drain(compress); in play_samples()
318 compress_close(compress); in play_samples()
323 compress_close(compress); in play_samples()