Commit 068f3682 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ALSA: int -> bool

parent d1aea641
...@@ -62,7 +62,7 @@ struct aout_sys_t ...@@ -62,7 +62,7 @@ struct aout_sys_t
snd_output_t * p_snd_stderr; snd_output_t * p_snd_stderr;
#endif #endif
int b_playing; /* playing status */ bool b_playing; /* playing status */
mtime_t start_date; mtime_t start_date;
vlc_mutex_t lock; vlc_mutex_t lock;
...@@ -687,7 +687,7 @@ static void Play( aout_instance_t *p_aout ) ...@@ -687,7 +687,7 @@ static void Play( aout_instance_t *p_aout )
{ {
if( !p_aout->output.p_sys->b_playing ) if( !p_aout->output.p_sys->b_playing )
{ {
p_aout->output.p_sys->b_playing = 1; p_aout->output.p_sys->b_playing = true;
/* get the playing date of the first aout buffer */ /* get the playing date of the first aout buffer */
p_aout->output.p_sys->start_date = p_aout->output.p_sys->start_date =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment