apply correct change from ardour-cc for ALSA/dbus issue

This commit is contained in:
Paul Davis 2014-09-02 12:13:19 -04:00
parent f5dbd36066
commit dbc07ee310

View file

@ -33,6 +33,10 @@
#include "ardouralsautil/reserve.h"
#ifndef DBUS_TIMEOUT_USE_DEFAULT
#define DBUS_TIMEOUT_USE_DEFAULT (-1)
#endif
struct rd_device {
int ref;
@ -645,7 +649,7 @@ int rd_dbus_get_name_owner(
goto fail;
}
reply = dbus_connection_send_with_reply_and_block(connection, msg, 5000, error);
reply = dbus_connection_send_with_reply_and_block(connection, msg, DBUS_TIMEOUT_USE_DEFAULT, error);
dbus_message_unref(msg);
msg = NULL;