reserve: update reserve.[ch] from upstream git

This commit is contained in:
Lennart Poettering 2009-06-05 19:00:12 +02:00
parent 3e10f3f4e3
commit 1748fd2a0d
2 changed files with 9 additions and 15 deletions

View file

@ -45,7 +45,7 @@ typedef int (*rd_request_cb_t)(
* the error was caused D-Bus. */
int rd_acquire(
rd_device **d, /* On success a pointer to the newly allocated rd_device object will be filled in here */
DBusConnection *connection,
DBusConnection *connection, /* Session bus (when D-Bus learns about user busses we should switchg to user busses) */
const char *device_name, /* The device to lock, e.g. "Audio0" */
const char *application_name, /* A human readable name of the application, e.g. "PulseAudio Sound Server" */
int32_t priority, /* The priority for this application. If unsure use 0 */