Home
last modified time | relevance | path

Searched refs:playcount (Results 1 – 6 of 6) sorted by relevance

/src/sys/dev/sound/pcm/
H A Dsound.c103 if (d->playcount > 0) in sysctl_hw_snd_default_unit()
204 if (d->playcount == 0) in pcm_best_unit()
320 if (d->playcount > 0) in sysctl_dev_pcm_mode()
357 d->playcount = 0; in pcm_init()
384 if (d->playcount == 0 || d->reccount == 0) in pcm_register()
386 if (d->playcount > 0) in pcm_register()
H A Dsound.h140 (d->playcount + d->pvchancount + d->reccount + d->rvchancount)
205 unsigned playcount, reccount, pvchancount, rvchancount; member
H A Dvchan.c269 if (d->playcount < 1) { in sysctl_dev_pcm_vchans()
760 if (d->playcount > 0) in sysctl_hw_snd_vchans_enable()
H A Ddsp.c386 (DSP_F_WRITE(flags) && d->playcount == 0))) in dsp_open()
396 if (d->playcount > 0) in dsp_open()
H A Dchannel.c1157 d->playcount++; in chn_init()
1312 d->playcount--; in chn_kill()
/src/sys/dev/sound/
H A Dsndstat.c408 nvlist_add_number(di, SNDST_DSPS_PCHAN, d->playcount); in sndstat_build_sound4_nvlist()
410 if (d->playcount > 0) { in sndstat_build_sound4_nvlist()
1233 d->playcount ? "play" : "", in sndstat_prepare_pcm()
1234 (d->playcount && d->reccount) ? "/" : "", in sndstat_prepare_pcm()
1238 d->playcount, d->pvchancount, in sndstat_prepare_pcm()
1242 ((d->playcount != 0 && d->reccount != 0) && in sndstat_prepare_pcm()