[polypaudio-commits] r857 - in /trunk/src/polypcore: client.c client.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat May 13 17:36:07 PDT 2006


Author: lennart
Date: Sun May 14 02:36:06 2006
New Revision: 857

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=857&root=polypaudio&view=rev
Log:
modify argument order of pa_client_new() to actually match how it is usually called

Modified:
    trunk/src/polypcore/client.c
    trunk/src/polypcore/client.h

Modified: trunk/src/polypcore/client.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/client.c?rev=857&root=polypaudio&r1=856&r2=857&view=diff
==============================================================================
--- trunk/src/polypcore/client.c (original)
+++ trunk/src/polypcore/client.c Sun May 14 02:36:06 2006
@@ -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);

Modified: trunk/src/polypcore/client.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/client.h?rev=857&root=polypaudio&r1=856&r2=857&view=diff
==============================================================================
--- trunk/src/polypcore/client.h (original)
+++ trunk/src/polypcore/client.h Sun May 14 02:36:06 2006
@@ -42,7 +42,7 @@
     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);




More information about the pulseaudio-commits mailing list