Showing the changes to src (2 of 2 files). Show all
Unified · Split
| @@ -80,6 +80,7 @@ enum · 79 unmodified lines | |||
| 80 | SRC_ERR_BAD_MODE, | 80 | SRC_ERR_BAD_MODE, |
| 81 | SRC_ERR_NULL_CALLBACK, | 81 | SRC_ERR_NULL_CALLBACK, |
| 82 | SRC_ERR_NO_VARIABLE_RATIO, | 82 | SRC_ERR_NO_VARIABLE_RATIO, |
| 83 | SRC_ERR_SINC_PREPARE_DATA_BAD_LEN, | ||
| 83 | 84 | ||
| 84 | /* This must be the last error number. */ | 85 | /* This must be the last error number. */ |
| 85 | SRC_ERR_MAX_ERROR | 86 | SRC_ERR_MAX_ERROR |
| @@ -424,6 +424,8 @@ src_strerror (int error) · 423 unmodified lines | |||
| 424 | return "Callback function pointer is NULL in src_callback_read ()." ; | 424 | return "Callback function pointer is NULL in src_callback_read ()." ; |
| 425 | case SRC_ERR_NO_VARIABLE_RATIO : | 425 | case SRC_ERR_NO_VARIABLE_RATIO : |
| 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 : | ||
| 428 | return "Internal error : Bad length in prepare_data ()." ; | ||
| 427 | 429 | ||
| 428 | case SRC_ERR_MAX_ERROR : | 430 | case SRC_ERR_MAX_ERROR : |
| 429 | return "Placeholder. No error defined for this error number." ; | 431 | return "Placeholder. No error defined for this error number." ; |