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