Lines Matching refs:activePcm
86 struct pcm * activePcm = NULL; variable
249 if(activePcm){ in start_output_stream()
250 ALOGV("Closing already open tiny alsa stream running state %d",(int)(activePcm)); in start_output_stream()
251 pcm_close(activePcm); in start_output_stream()
252 activePcm = NULL; in start_output_stream()
265 activePcm = NULL; in start_output_stream()
269 activePcm = out->pcm; in start_output_stream()
272 …OGV("Initialized PCM device for channels %d handle = %d",out->pcm_config.channels, (int)activePcm); in start_output_stream()
354 if (!out->standby && activePcm) { in out_standby()
355 pcm_close(activePcm); in out_standby()
358 activePcm = NULL; in out_standby()
577 if(activePcm == NULL) { in out_write()
754 if(activePcm){ in adev_open_output_stream()
756 pcm_close(activePcm); in adev_open_output_stream()
757 activePcm = NULL; in adev_open_output_stream()