Lines Matching refs:xlib
68 char *xlib, *path, errbuf[256];
77 xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
78 if (xlib == NULL)
80 strcpy(xlib, path);
81 strcat(xlib, "/");
82 strcat(xlib, lib);
83 h = INTERNAL(snd_dlopen)(xlib, RTLD_NOW, errbuf, sizeof(errbuf));
85 SNDERR("Unable to open library '%s' (%s)", xlib, errbuf);
86 free(xlib);
92 SNDERR("Symbol 'alsa_mixer_simple_event' was not found in '%s'", xlib);
98 SNDERR("Symbol 'alsa_mixer_simple_init' was not found in '%s'", xlib);
102 free(xlib);
116 char *xlib, *path, errbuf[256];
123 xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
124 if (xlib == NULL)
126 strcpy(xlib, path);
127 strcat(xlib, "/");
128 strcat(xlib, lib);
130 h = INTERNAL(snd_dlopen)(xlib, RTLD_NOW|RTLD_GLOBAL, errbuf, sizeof(errbuf));
132 SNDERR("Unable to open library '%s'", xlib);
133 free(xlib);
139 SNDERR("Symbol 'alsa_mixer_simple_event' was not found in '%s'", xlib);
145 SNDERR("Symbol 'alsa_mixer_simple_finit' was not found in '%s'", xlib);
149 free(xlib);