Searched refs:dsm_pcm_handle (Results 1 – 1 of 1) sorted by relevance
46 static struct pcm *dsm_pcm_handle = NULL; in start_dsm_feedback_processing() local50 if (dsm_pcm_handle) in start_dsm_feedback_processing()61 dsm_pcm_handle = pcm_open(adev->snd_card, in start_dsm_feedback_processing()64 if (dsm_pcm_handle && !pcm_is_ready(dsm_pcm_handle)) { in start_dsm_feedback_processing()65 ALOGE("%s: %s", __func__, pcm_get_error(dsm_pcm_handle)); in start_dsm_feedback_processing()70 if (pcm_start(dsm_pcm_handle) < 0) { in start_dsm_feedback_processing()81 if (dsm_pcm_handle) { in start_dsm_feedback_processing()82 pcm_close(dsm_pcm_handle); in start_dsm_feedback_processing()83 dsm_pcm_handle = NULL; in start_dsm_feedback_processing()