Searched refs:vchancount (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/sound/pcm/ |
H A D | vchan.c | 302 int direction, vchancount; in sysctl_dev_pcm_vchans() local 315 vchancount = d->pvchancount; in sysctl_dev_pcm_vchans() 320 vchancount = d->rvchancount; in sysctl_dev_pcm_vchans() 337 cnt = vchancount; in sysctl_dev_pcm_vchans() 340 if (err == 0 && req->newptr != NULL && vchancount != cnt) { in sysctl_dev_pcm_vchans() 453 int *vchanrate, vchancount, direction, ret, newspd, restart; in sysctl_dev_pcm_vchanrate() local 465 vchancount = d->pvchancount; in sysctl_dev_pcm_vchanrate() 470 vchancount = d->rvchancount; in sysctl_dev_pcm_vchanrate() 479 if (vchancount < 1) { in sysctl_dev_pcm_vchanrate() 560 int *vchanformat, vchancount, direction, ret, restart; in sysctl_dev_pcm_vchanformat() local [all …]
|
H A D | sound.c | 115 int err, vchancount; in pcm_chnalloc() local 125 vchancount = (direction == PCMDIR_PLAY) ? d->pvchancount : in pcm_chnalloc() 153 if (!(vchancount > 0 && vchancount < snd_maxautovchans)) in pcm_chnalloc() 157 err = vchan_setnew(d, direction, vchancount + 1); in pcm_chnalloc()
|