Searched refs:snd_dev_ref_cnt (Results 1 – 2 of 2) sorted by relevance
322 int* snd_dev_ref_cnt; member
697 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()698 if (adev->snd_dev_ref_cnt[snd_device] > 1) { in enable_snd_device()729 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()733 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()734 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()3128 free(adev->snd_dev_ref_cnt); in adev_close()3177 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()3185 free(adev->snd_dev_ref_cnt); in adev_open()