diff options
author | Colin Guthrie <pulse@colin.guthr.ie> | 2008-08-03 19:56:49 +0100 |
---|---|---|
committer | Colin Guthrie <pulse@colin.guthr.ie> | 2008-08-03 19:56:49 +0100 |
commit | 5744237a066186be305be9ea3ecb3ccccadcceca (patch) | |
tree | 6a08957a66fb308a8f1b37232d9b2d24a246e394 /src/pulse | |
parent | b30a5d601eaffd98914ca0b9fdecd863eade0b4f (diff) | |
parent | 04ffac57a67eee9640f248b6fab33ee8367b0eab (diff) |
Merge branch 'master' of git://git.0pointer.de/pulseaudio
Diffstat (limited to 'src/pulse')
-rw-r--r-- | src/pulse/def.h | 1 | ||||
-rw-r--r-- | src/pulse/error.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h index 95071978..aa07d1c9 100644 --- a/src/pulse/def.h +++ b/src/pulse/def.h @@ -352,6 +352,7 @@ enum { PA_ERR_TOOLARGE, /**< Data too large */ PA_ERR_NOTSUPPORTED, /**< Operation not supported \since 0.9.5 */ PA_ERR_UNKNOWN, /**< The error code was unknown to the client */ + PA_ERR_NOEXTENSION, /**< Extension does not exist. \since 0.9.12 */ PA_ERR_MAX /**< Not really an error but the first invalid error code */ }; diff --git a/src/pulse/error.c b/src/pulse/error.c index 29690c89..50bbf703 100644 --- a/src/pulse/error.c +++ b/src/pulse/error.c @@ -57,7 +57,10 @@ const char*pa_strerror(int error) { [PA_ERR_BADSTATE] = "Bad state", [PA_ERR_NODATA] = "No data", [PA_ERR_VERSION] = "Incompatible protocol version", - [PA_ERR_TOOLARGE] = "Too large" + [PA_ERR_TOOLARGE] = "Too large", + [PA_ERR_NOTSUPPORTED] = "Not supported", + [PA_ERR_UNKNOWN] = "Unknown error code", + [PA_ERR_NOEXTENSION] = "No such extension" }; if (error < 0 || error >= PA_ERR_MAX) |