Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libcanberra
libcanberra-multi-backend.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcanberra-multi-backend.patch of Package libcanberra
Index: libcanberra-0.29/src/driver-order.c =================================================================== --- libcanberra-0.29.orig/src/driver-order.c +++ libcanberra-0.29/src/driver-order.c @@ -30,6 +30,7 @@ #include "driver-order.h" const char* const ca_driver_order[] = { + "multi", #ifdef HAVE_PULSE "pulse", #endif Index: libcanberra-0.29/src/multi.c =================================================================== --- libcanberra-0.29.orig/src/multi.c +++ libcanberra-0.29/src/multi.c @@ -107,8 +107,7 @@ int driver_open(ca_context *c) { int ret = CA_SUCCESS; ca_return_val_if_fail(c, CA_ERROR_INVALID); - ca_return_val_if_fail(c->driver, CA_ERROR_NODRIVER); - ca_return_val_if_fail(!strncmp(c->driver, "multi", 5), CA_ERROR_NODRIVER); + ca_return_val_if_fail(!c->driver || strncmp(c->driver, "multi", 5) == 0, CA_ERROR_NODRIVER); ca_return_val_if_fail(!PRIVATE(c), CA_ERROR_STATE); if (!(c->private = p = ca_new0(struct private, 1)))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor