mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 21:55:36 +00:00
JACK: fix return type of rename callback
This commit is contained in:
parent
d6e41672f7
commit
6032b83180
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue