mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
modify argument order of pa_client_new() to actually match how it is usually called
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@857 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
682dfd7adb
commit
e46f8f8eb3
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue