1 Index: libcanberra-0.29/src/driver-order.c
2 ===================================================================
3 --- libcanberra-0.29.orig/src/driver-order.c
4 +++ libcanberra-0.29/src/driver-order.c
6 #include "driver-order.h"
8 const char* const ca_driver_order[] = {
13 Index: libcanberra-0.29/src/multi.c
14 ===================================================================
15 --- libcanberra-0.29.orig/src/multi.c
16 +++ libcanberra-0.29/src/multi.c
17 @@ -107,8 +107,7 @@ int driver_open(ca_context *c) {
20 ca_return_val_if_fail(c, CA_ERROR_INVALID);
21 - ca_return_val_if_fail(c->driver, CA_ERROR_NODRIVER);
22 - ca_return_val_if_fail(!strncmp(c->driver, "multi", 5), CA_ERROR_NODRIVER);
23 + ca_return_val_if_fail(!c->driver || strncmp(c->driver, "multi", 5) == 0, CA_ERROR_NODRIVER);
24 ca_return_val_if_fail(!PRIVATE(c), CA_ERROR_STATE);
26 if (!(c->private = p = ca_new0(struct private, 1)))