Showing the changes to src/src_linear.c (1 of 4 files). Show all
Unified · Split
| @@ -14,9 +14,9 @@ · 13 unmodified lines | ||
| 14 | 14 | #include "src_config.h" |
| 15 | 15 | #include "common.h" |
| 16 | 16 | |
| 17 | −static enum SRC_ERR linear_vari_process (SRC_STATE *state, SRC_DATA *data) ; | |
| 17 | +static SRC_ERROR linear_vari_process (SRC_STATE *state, SRC_DATA *data) ; | |
| 18 | 18 | static void linear_reset (SRC_STATE *state) ; |
| 19 | −static enum SRC_ERR linear_copy (SRC_STATE *from, SRC_STATE *to) ; | |
| 19 | +static SRC_ERROR linear_copy (SRC_STATE *from, SRC_STATE *to) ; | |
| 20 | 20 | static void linear_close (SRC_STATE *state) ; |
| 21 | 21 | |
| 22 | 22 | /*======================================================================================== |
| @@ -37,7 +37,7 @@ typedef struct · 14 unmodified lines | ||
| 37 | 37 | /*---------------------------------------------------------------------------------------- |
| 38 | 38 | */ |
| 39 | 39 | |
| 40 | −static enum SRC_ERR | |
| 40 | +static SRC_ERROR | |
| 41 | 41 | linear_vari_process (SRC_STATE *state, SRC_DATA *data) |
| 42 | 42 | { LINEAR_DATA *priv ; |
| 43 | 43 | double src_ratio, input_index, rem ; |
| @@ -158,7 +158,7 @@ linear_get_description (int src_enum) · 114 unmodified lines | ||
| 158 | 158 | return NULL ; |
| 159 | 159 | } /* linear_get_descrition */ |
| 160 | 160 | |
| 161 | −enum SRC_ERR | |
| 161 | +SRC_ERROR | |
| 162 | 162 | linear_set_converter (SRC_STATE *state, int src_enum) |
| 163 | 163 | { |
| 164 | 164 | LINEAR_DATA *priv = NULL ; |
| @@ -217,7 +217,7 @@ linear_reset (SRC_STATE *state) · 52 unmodified lines | ||
| 217 | 217 | return ; |
| 218 | 218 | } /* linear_reset */ |
| 219 | 219 | |
| 220 | −static enum SRC_ERR | |
| 220 | +SRC_ERROR | |
| 221 | 221 | linear_copy (SRC_STATE *from, SRC_STATE *to) |
| 222 | 222 | { |
| 223 | 223 | if (from->private_data == NULL) |