Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c163 int enable_bits = 0, zero = 0; in trigger() local
173 enable_bits |= PCM_ENABLE_INPUT; in trigger()
176 enable_bits |= PCM_ENABLE_OUTPUT; in trigger()
178 pa_log_debug("trigger: %i", enable_bits); in trigger()
186 if (enable_bits == 0) in trigger()
191 if (ioctl(u->fd, SNDCTL_DSP_SETTRIGGER, &enable_bits) < 0) in trigger()
194 if (u->sink && !(enable_bits & PCM_ENABLE_OUTPUT)) { in trigger()
201 if (enable_bits) in trigger()