[vlc-devel] commit: ALSA: int -> bool ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 30 22:23:05 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 30 23:20:57 2009 +0300| [068f36829df1a3647cc183119acac49e0dafbd02] | committer: Rémi Denis-Courmont
ALSA: int -> bool
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=068f36829df1a3647cc183119acac49e0dafbd02
---
modules/audio_output/alsa.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index fc05cf1..a1d770d 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -62,7 +62,7 @@ struct aout_sys_t
snd_output_t * p_snd_stderr;
#endif
- int b_playing; /* playing status */
+ bool b_playing; /* playing status */
mtime_t start_date;
vlc_mutex_t lock;
@@ -687,7 +687,7 @@ static void Play( aout_instance_t *p_aout )
{
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 */
p_aout->output.p_sys->start_date =
More information about the vlc-devel
mailing list