History

Rename SRC_ERR to SRC_ERROR and make typedef

evpobr committed 6 years ago

Commit ee346bb1 parent 37540f64 files · +32 −32Browse files

Showing the changes to src/src_linear.c (1 of 4 files). Show all

Unified · Split

src/src_linear.c+5−5
@@ -14,9 +14,9 @@ · 13 unmodified lines
1414 #include "src_config.h"
1515 #include "common.h"
1616
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) ;
1818 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) ;
2020 static void linear_close (SRC_STATE *state) ;
2121
2222 /*========================================================================================
@@ -37,7 +37,7 @@ typedef struct · 14 unmodified lines
3737 /*----------------------------------------------------------------------------------------
3838 */
3939
40−static enum SRC_ERR
40+static SRC_ERROR
4141 linear_vari_process (SRC_STATE *state, SRC_DATA *data)
4242 { LINEAR_DATA *priv ;
4343 double src_ratio, input_index, rem ;
@@ -158,7 +158,7 @@ linear_get_description (int src_enum) · 114 unmodified lines
158158 return NULL ;
159159 } /* linear_get_descrition */
160160
161−enum SRC_ERR
161+SRC_ERROR
162162 linear_set_converter (SRC_STATE *state, int src_enum)
163163 {
164164 LINEAR_DATA *priv = NULL ;
@@ -217,7 +217,7 @@ linear_reset (SRC_STATE *state) · 52 unmodified lines
217217 return ;
218218 } /* linear_reset */
219219
220−static enum SRC_ERR
220+SRC_ERROR
221221 linear_copy (SRC_STATE *from, SRC_STATE *to)
222222 {
223223 if (from->private_data == NULL)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t