mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add new error code PA_ERR_NOTIMPLEMENTED
This commit is contained in:
parent
e47d03dea4
commit
50bfa774f6
2 changed files with 4 additions and 1 deletions
|
|
@ -364,6 +364,7 @@ enum {
|
|||
PA_ERR_UNKNOWN, /**< The error code was unknown to the client */
|
||||
PA_ERR_NOEXTENSION, /**< Extension does not exist. \since 0.9.12 */
|
||||
PA_ERR_OBSOLETE, /**< Obsolete functionality. \since 0.9.15 */
|
||||
PA_ERR_NOTIMPLEMENTED, /**< Missing implementation. \since 0.9.15 */
|
||||
PA_ERR_MAX /**< Not really an error but the first invalid error code */
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,9 @@ const char*pa_strerror(int error) {
|
|||
[PA_ERR_TOOLARGE] = N_("Too large"),
|
||||
[PA_ERR_NOTSUPPORTED] = N_("Not supported"),
|
||||
[PA_ERR_UNKNOWN] = N_("Unknown error code"),
|
||||
[PA_ERR_NOEXTENSION] = N_("No such extension")
|
||||
[PA_ERR_NOEXTENSION] = N_("No such extension"),
|
||||
[PA_ERR_OBSOLETE] = N_("Obsolete functionality"),
|
||||
[PA_ERR_NOTIMPLEMENTED] = N_("Missing implementation")
|
||||
};
|
||||
|
||||
pa_init_i18n();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue