Lines Matching full:xlib
69 char *xlib, *path;
76 xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
77 if (xlib == NULL)
79 strcpy(xlib, path);
80 strcat(xlib, "/");
81 strcat(xlib, lib);
82 h = snd_dlopen(xlib, RTLD_NOW);
84 SNDERR("Unable to open library '%s'", xlib);
85 free(xlib);
91 SNDERR("Symbol 'alsa_mixer_simple_event' was not found in '%s'", xlib);
97 SNDERR("Symbol 'alsa_mixer_simple_init' was not found in '%s'", xlib);
101 free(xlib);
115 char *xlib, *path;
122 xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
123 if (xlib == NULL)
125 strcpy(xlib, path);
126 strcat(xlib, "/");
127 strcat(xlib, lib);
129 h = snd_dlopen(xlib, RTLD_NOW|RTLD_GLOBAL);
131 SNDERR("Unable to open library '%s'", xlib);
132 free(xlib);
138 SNDERR("Symbol 'alsa_mixer_simple_event' was not found in '%s'", xlib);
144 SNDERR("Symbol 'alsa_mixer_simple_finit' was not found in '%s'", xlib);
148 free(xlib);