Lines Matching refs:path
53 char *path;
100 pa_xfree(d->path);
106 static const char *path_get_card_id(const char *path) {
109 if (!path)
112 if (!(e = strrchr(path, '/')))
293 cd = pa_sprintf_malloc("/dev/snd/controlC%s", path_get_card_id(d->path));
314 busy = is_card_busy(path_get_card_id(d->path));
315 pa_log_debug("%s is busy: %s", d->path, pa_yes_no(busy));
346 pa_log_info("Card %s (%s) module loaded.", d->path, d->card_name);
348 pa_log_info("Card %s (%s) module skipped.", d->path, d->card_name);
351 pa_log_info("Card %s (%s) failed to load module.", d->path, d->card_name);
355 d->path,
376 const char *path;
387 path = udev_device_get_devpath(dev);
389 if ((d = pa_hashmap_get(u->devices, path))) {
395 d->path = pa_xstrdup(path);
402 t = path_get_card_id(path);
419 path_get_card_id(path),
435 pa_hashmap_put(u->devices, d->path, d);
449 pa_log_info("Card %s removed.", d->path);
485 static void process_path(struct userdata *u, const char *path) {
488 if (!path_get_card_id(path))
491 if (!(dev = udev_device_new_from_syspath(u->udev, path))) {
538 cd = pa_sprintf_malloc("pcmC%sD", path_get_card_id(d->path));
552 cd = pa_sprintf_malloc("controlC%s", path_get_card_id(d->path));