JACK: fix return type of rename callback

This commit is contained in:
Andrew Kelley 2015-08-26 19:05:07 -07:00
parent d6e41672f7
commit 6032b83180

View file

@ -781,12 +781,11 @@ static void port_registration_callback(jack_port_id_t port_id, int reg, void *ar
notify_devices_change(si); notify_devices_change(si);
} }
static int port_rename_calllback(jack_port_id_t port_id, static void port_rename_calllback(jack_port_id_t port_id,
const char *old_name, const char *new_name, void *arg) const char *old_name, const char *new_name, void *arg)
{ {
SoundIoPrivate *si = (SoundIoPrivate *)arg; SoundIoPrivate *si = (SoundIoPrivate *)arg;
notify_devices_change(si); notify_devices_change(si);
return 0;
} }
static void shutdown_callback(void *arg) { static void shutdown_callback(void *arg) {