Lines Matching refs:compr
2066 if (out->compr != NULL) { in stop_compressed_output_l()
2067 compress_stop(out->compr); in stop_compressed_output_l()
2108 __func__, out->offload_state, cmd->cmd, out->compr); in offload_thread_loop()
2115 if (out->compr == NULL) { in offload_thread_loop()
2126 compress_wait(out->compr, -1); in offload_thread_loop()
2131 compress_next_track(out->compr); in offload_thread_loop()
2132 compress_partial_drain(out->compr); in offload_thread_loop()
2139 compress_drain(out->compr); in offload_thread_loop()
2533 out->compr = compress_open(adev->snd_card, out->pcm_device_id, in start_output_stream()
2535 if (out->compr && !is_compress_ready(out->compr)) { in start_output_stream()
2536 ALOGE("%s: %s", __func__, compress_get_error(out->compr)); in start_output_stream()
2537 compress_close(out->compr); in start_output_stream()
2538 out->compr = NULL; in start_output_stream()
2543 compress_nonblock(out->compr, out->non_blocking); in start_output_stream()
2834 if (out->compr != NULL) { in out_standby_l()
2835 compress_close(out->compr); in out_standby_l()
2836 out->compr = NULL; in out_standby_l()
3478 compress_set_gapless_metadata(out->compr, &out->gapless_mdata); in out_write()
3483 ret = compress_get_hpointer(out->compr, &avail, &tstamp); in out_write()
3501 ret = compress_write(out->compr, buffer, avail); in out_write()
3510 compress_start(out->compr); in out_write()
3685 if (out->compr != NULL) { in out_get_render_position()
3688 compress_get_tstamp(out->compr, &frames, &out->sample_rate); in out_get_render_position()
3727 if (out->compr != NULL) { in out_get_presentation_position()
3729 compress_get_tstamp(out->compr, &dsp_frames, in out_get_presentation_position()
3817 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PLAYING) { in out_pause()
3818 status = compress_pause(out->compr); in out_pause()
3834 if (out->compr != NULL && out->offload_state == OFFLOAD_STATE_PAUSED) { in out_resume()
3835 status = compress_resume(out->compr); in out_resume()
6405 compress_pause(out->compr); in check_a2dp_restore_l()
6410 compress_resume(out->compr); in check_a2dp_restore_l()