Lines Matching refs:compr
773 if (out->compr != NULL) {
774 compress_stop(out->compr);
814 ALOGVV("%s STATE %d CMD %d out->compr %p",
815 __func__, out->offload_state, cmd->cmd, out->compr);
822 if (out->compr == NULL) {
832 compress_wait(out->compr, -1);
837 compress_next_track(out->compr);
838 compress_partial_drain(out->compr);
845 compress_drain(out->compr);
1079 out->compr = compress_open(adev->snd_card, out->pcm_device_id,
1081 if (out->compr && !is_compress_ready(out->compr)) {
1082 ALOGE("%s: %s", __func__, compress_get_error(out->compr));
1083 compress_close(out->compr);
1084 out->compr = NULL;
1089 compress_nonblock(out->compr, out->non_blocking);
1221 if (out->compr != NULL) {
1222 compress_close(out->compr);
1223 out->compr = NULL;
1473 compress_set_gapless_metadata(out->compr, &out->gapless_mdata);
1477 ret = compress_write(out->compr, buffer, bytes);
1483 compress_start(out->compr);
1524 if (out->compr != NULL) {
1525 compress_get_tstamp(out->compr, (unsigned long *)dsp_frames,
1564 if (out->compr != NULL) {
1565 compress_get_tstamp(out->compr, &dsp_frames,
1619 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PLAYING) {
1620 status = compress_pause(out->compr);
1636 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PAUSED) {
1637 status = compress_resume(out->compr);