mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
add a new error code PA_ERR_NOEXTENSION
This commit is contained in:
parent
23bde22b10
commit
114f290be7
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue