History

Make use of C99 bool type

evpobr committed 6 years ago

Commit 4ff9f4a1 parent ece92456 files · +13 −5Browse files

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

Unified · Split

src/src_linear.c+2−2
@@ -55,7 +55,7 @@ linear_vari_process (SRC_STATE *state, SRC_DATA *data) · 54 unmodified lines
55 { /* If we have just been reset, set the last_value data. */55 { /* If we have just been reset, set the last_value data. */
56 for (ch = 0 ; ch < priv->channels ; ch++)56 for (ch = 0 ; ch < priv->channels ; ch++)
57 priv->last_value [ch] = data->data_in [ch] ;57 priv->last_value [ch] = data->data_in [ch] ;
58 priv->dirty = 1 ;58 priv->dirty = true ;
59 } ;59 } ;
60 60
61 priv->in_count = data->input_frames * priv->channels ;61 priv->in_count = data->input_frames * priv->channels ;
@@ -203,7 +203,7 @@ linear_reset (SRC_STATE *state) · 141 unmodified lines
203 return ;203 return ;
204 204
205 priv->channels = state->channels ;205 priv->channels = state->channels ;
206 priv->dirty = 0 ;206 priv->dirty = false ;
207 memset (priv->last_value, 0, sizeof (priv->last_value [0]) * priv->channels) ;207 memset (priv->last_value, 0, sizeof (priv->last_value [0]) * priv->channels) ;
208 208
209 return ;209 return ;

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