[polypaudio-commits] r785 - in /trunk/src/polyp: def.h error.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sun Apr 23 13:56:42 PDT 2006


Author: lennart
Date: Sun Apr 23 22:56:41 2006
New Revision: 785

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=785&root=polypaudio&view=rev
Log:
introduce a new error PA_ERR_TOOLARGE

Modified:
    trunk/src/polyp/def.h
    trunk/src/polyp/error.c

Modified: trunk/src/polyp/def.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/def.h?rev=785&root=polypaudio&r1=784&r2=785&view=diff
==============================================================================
--- trunk/src/polyp/def.h (original)
+++ trunk/src/polyp/def.h Sun Apr 23 22:56:41 2006
@@ -160,6 +160,7 @@
     PA_ERR_BADSTATE,               /**< Bad state */
     PA_ERR_NODATA,                 /**< No data */
     PA_ERR_VERSION,                /**< Incompatible protocol version \since 0.8 */
+    PA_ERR_TOOLARGE,               /**< Data too large \since 0.8.1 */
     PA_ERR_MAX                     /**< Not really an error but the first invalid error code */
 };
 

Modified: trunk/src/polyp/error.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/error.c?rev=785&root=polypaudio&r1=784&r2=785&view=diff
==============================================================================
--- trunk/src/polyp/error.c (original)
+++ trunk/src/polyp/error.c Sun Apr 23 22:56:41 2006
@@ -49,6 +49,7 @@
     [PA_ERR_BADSTATE] = "Bad state",
     [PA_ERR_NODATA] = "No data",
     [PA_ERR_VERSION] = "Incompatible protocol version",
+    [PA_ERR_TOOLARGE] = "Too large"
 };
 
 const char*pa_strerror(int error) {




More information about the pulseaudio-commits mailing list