Searched refs:snd_dev_ref_cnt (Results 1 – 2 of 2) sorted by relevance
401 int* snd_dev_ref_cnt; member
740 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()741 if (adev->snd_dev_ref_cnt[snd_device] > 1) { in enable_snd_device()779 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()783 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()784 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()4426 free(adev->snd_dev_ref_cnt); in adev_close()4656 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()4664 free(adev->snd_dev_ref_cnt); in adev_open()