Lines Matching defs:device

188     pa_alsa_ucm_device *device;
198 PA_DYNARRAY_FOREACH(device, jack->ucm_hw_mute_devices, idx)
199 pa_alsa_ucm_device_update_available(device);
201 PA_DYNARRAY_FOREACH(device, jack->ucm_devices, idx)
202 pa_alsa_ucm_device_update_available(device);
206 pa_alsa_ucm_device *device;
217 * and the headphones get unplugged, then the headphone device must be set
218 * to unavailable and the speaker device must be set to unknown. So far so
251 PA_DYNARRAY_FOREACH(device, jack->ucm_hw_mute_devices, idx)
252 pa_alsa_ucm_device_update_available(device);
254 PA_DYNARRAY_FOREACH(device, jack->ucm_devices, idx)
255 pa_alsa_ucm_device_update_available(device);
258 void pa_alsa_jack_add_ucm_device(pa_alsa_jack *jack, pa_alsa_ucm_device *device) {
263 pa_assert(device);
265 /* store the ucm device with the sequence of priority from low to high. this
266 * could guarantee when the jack state is changed, the device with highest
268 prio = device->playback_priority ? device->playback_priority : device->capture_priority;
275 pa_dynarray_insert_by_index(jack->ucm_devices, device, idx);
278 void pa_alsa_jack_add_ucm_hw_mute_device(pa_alsa_jack *jack, pa_alsa_ucm_device *device) {
280 pa_assert(device);
282 pa_dynarray_append(jack->ucm_hw_mute_devices, device);
1539 /* Finally restore hw mute to the device mute status. */
2290 pa_log("[%s:%u] Invalid value for option 'eld-device': %s", state->filename, state->lineno, state->rvalue);
2930 { "eld-device", parse_eld_device, NULL, "General" },
4610 pa_log("Mapping %s is missing device strings.", m->name);
4936 { "device-strings", mapping_parse_device_strings, NULL, NULL },
5133 /* XXX: It's not clear what snd_pcm_info_get_device() does if the device is
5134 * not backed by a hw device or if it's backed by multiple hw devices. We