diff --git a/src/polypcore/client.c b/src/polypcore/client.c index 852f87b02..be970470c 100644 --- a/src/polypcore/client.c +++ b/src/polypcore/client.c @@ -34,7 +34,7 @@ #include "client.h" -pa_client *pa_client_new(pa_core *core, const char *name, const char *driver) { +pa_client *pa_client_new(pa_core *core, const char *driver, const char *name) { pa_client *c; int r; assert(core); diff --git a/src/polypcore/client.h b/src/polypcore/client.h index 8ddc6d942..f6ff935db 100644 --- a/src/polypcore/client.h +++ b/src/polypcore/client.h @@ -42,7 +42,7 @@ struct pa_client { void *userdata; }; -pa_client *pa_client_new(pa_core *c, const char *name, const char *driver); +pa_client *pa_client_new(pa_core *c, const char *driver, const char *name); /* This function should be called only by the code that created the client */ void pa_client_free(pa_client *c);