mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
apply correct change from ardour-cc for ALSA/dbus issue
This commit is contained in:
parent
f5dbd36066
commit
dbc07ee310
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue