Showing the changes to src (2 of 3 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** Copyright (C) 2002-2011 Erik de Castro Lopo <erikd@mega-nerd.com> | 2 | ** Copyright (C) 2002-2012 Erik de Castro Lopo <erikd@mega-nerd.com> |
| 3 | ** | 3 | ** |
| 4 | ** This program is free software; you can redistribute it and/or modify | 4 | ** This program is free software; you can redistribute it and/or modify |
| 5 | ** it under the terms of the GNU General Public License as published by | 5 | ** it under the terms of the GNU General Public License as published by |
| @@ -99,6 +99,7 @@ enum · 93 unmodified lines | |||
| 99 | SRC_ERR_NULL_CALLBACK, | 99 | SRC_ERR_NULL_CALLBACK, |
| 100 | SRC_ERR_NO_VARIABLE_RATIO, | 100 | SRC_ERR_NO_VARIABLE_RATIO, |
| 101 | SRC_ERR_SINC_PREPARE_DATA_BAD_LEN, | 101 | SRC_ERR_SINC_PREPARE_DATA_BAD_LEN, |
| 102 | SRC_ERR_BAD_INTERNAL_STATE, | ||
| 102 | 103 | ||
| 103 | /* This must be the last error number. */ | 104 | /* This must be the last error number. */ |
| 104 | SRC_ERR_MAX_ERROR | 105 | SRC_ERR_MAX_ERROR |
| @@ -426,6 +426,8 @@ src_strerror (int error) · 425 unmodified lines | |||
| 426 | return "This converter only allows constant conversion ratios." ; | 426 | return "This converter only allows constant conversion ratios." ; |
| 427 | case SRC_ERR_SINC_PREPARE_DATA_BAD_LEN : | 427 | case SRC_ERR_SINC_PREPARE_DATA_BAD_LEN : |
| 428 | return "Internal error : Bad length in prepare_data ()." ; | 428 | return "Internal error : Bad length in prepare_data ()." ; |
| 429 | case SRC_ERR_BAD_INTERNAL_STATE : | ||
| 430 | return "Error : Someone is trampling on my internal state." ; | ||
| 429 | 431 | ||
| 430 | case SRC_ERR_MAX_ERROR : | 432 | case SRC_ERR_MAX_ERROR : |
| 431 | return "Placeholder. No error defined for this error number." ; | 433 | return "Placeholder. No error defined for this error number." ; |