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
5555 { /* If we have just been reset, set the last_value data. */
5656 for (ch = 0 ; ch < priv->channels ; ch++)
5757 priv->last_value [ch] = data->data_in [ch] ;
58− priv->dirty = 1 ;
58+ priv->dirty = true ;
5959 } ;
6060
6161 priv->in_count = data->input_frames * priv->channels ;
@@ -203,7 +203,7 @@ linear_reset (SRC_STATE *state) · 141 unmodified lines
203203 return ;
204204
205205 priv->channels = state->channels ;
206− priv->dirty = 0 ;
206+ priv->dirty = false ;
207207 memset (priv->last_value, 0, sizeof (priv->last_value [0]) * priv->channels) ;
208208
209209 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