Lines Matching refs:compr
2114 if (out->compr != NULL) {
2115 compress_stop(out->compr);
2152 ALOGVV("%s STATE %d CMD %d out->compr %p",
2153 __func__, out->offload_state, cmd->cmd, out->compr);
2160 if (out->compr == NULL) {
2170 compress_wait(out->compr, -1);
2175 compress_next_track(out->compr);
2176 compress_partial_drain(out->compr);
2181 compress_drain(out->compr);
2423 out->compr = NULL;
2434 out->compr = compress_open(COMPRESS_CARD, COMPRESS_DEVICE,
2436 if (out->compr && !is_compress_ready(out->compr)) {
2437 ALOGE("%s: %s", __func__, compress_get_error(out->compr));
2438 compress_close(out->compr);
2439 out->compr = NULL;
2444 compress_nonblock(out->compr, out->non_blocking);
2640 if (out->compr != NULL) {
2641 compress_close(out->compr);
2642 out->compr = NULL;
2991 compress_set_gapless_metadata(out->compr, &out->gapless_mdata);
2995 ret = compress_write(out->compr, buffer, bytes);
3001 compress_start(out->compr);
3187 if (out->compr != NULL) {
3188 compress_get_tstamp(out->compr, (unsigned long *)dsp_frames,
3231 if (out->compr != NULL) {
3232 compress_get_tstamp(out->compr, &dsp_frames,
3290 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PLAYING) {
3291 status = compress_pause(out->compr);
3310 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PAUSED) {
3314 status = compress_resume(out->compr);