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
14#include "src_config.h"14#include "src_config.h"
15#include "common.h"15#include "common.h"
16 16
17static enum SRC_ERR linear_vari_process (SRC_STATE *state, SRC_DATA *data) ;17static SRC_ERROR linear_vari_process (SRC_STATE *state, SRC_DATA *data) ;
18static void linear_reset (SRC_STATE *state) ;18static void linear_reset (SRC_STATE *state) ;
19static enum SRC_ERR linear_copy (SRC_STATE *from, SRC_STATE *to) ;19static SRC_ERROR linear_copy (SRC_STATE *from, SRC_STATE *to) ;
20static void linear_close (SRC_STATE *state) ;20static 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
40static enum SRC_ERR40static SRC_ERROR
41linear_vari_process (SRC_STATE *state, SRC_DATA *data)41linear_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
161enum SRC_ERR161SRC_ERROR
162linear_set_converter (SRC_STATE *state, int src_enum)162linear_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
220static enum SRC_ERR220SRC_ERROR
221linear_copy (SRC_STATE *from, SRC_STATE *to)221linear_copy (SRC_STATE *from, SRC_STATE *to)
222{222{
223 if (from->private_data == NULL)223 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