Searched refs:snd_dev_ref_cnt (Results 1 - 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
H A Dext_speaker.c128 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) {
133 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) {
/hardware/qcom/audio/hal/
H A Daudio_hw.h206 int *snd_dev_ref_cnt; member in struct:audio_device
H A Daudio_hw.c269 adev->snd_dev_ref_cnt[snd_device]++;
270 if (adev->snd_dev_ref_cnt[snd_device] > 1) {
277 adev->snd_dev_ref_cnt[snd_device]--;
296 if (adev->snd_dev_ref_cnt[snd_device] <= 0) {
300 adev->snd_dev_ref_cnt[snd_device]--;
301 if (adev->snd_dev_ref_cnt[snd_device] == 0) {
2592 free(adev->snd_dev_ref_cnt);
2663 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int));
2671 free(adev->snd_dev_ref_cnt);

Completed in 124 milliseconds