From 56302e657057e06fdc5dbbee651ad494d8762cd9 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 20 Jun 2004 15:04:19 +0000 Subject: this is supposedly a boolean CVS patchset: 6715 CVS date: 2004/06/20 15:04:19 --- src/audio_out/audio_alsa_out.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/audio_out/audio_alsa_out.c') diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 6abc44cb5..560b9375d 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton * * - * $Id: audio_alsa_out.c,v 1.143 2004/06/03 13:40:12 miguelfreitas Exp $ + * $Id: audio_alsa_out.c,v 1.144 2004/06/20 15:04:19 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -1267,15 +1267,14 @@ static void ao_alsa_mixer_init(ao_driver_t *this_gen) { } /* Create a thread which wait/handle mixer events */ - send_events = config->register_num(config, "audio.alsa_hw_mixer", 1, - _("notify changes to the hardware mixer"), - _("When the hardware mixer changes, your application will receive " - "a notification so that it can update its graphical representation " - "of the mixer settings on the fly."), - 10, NULL, NULL); - - if (send_events == 1 && found) - { + send_events = config->register_bool(config, "audio.alsa_hw_mixer", 1, + _("notify changes to the hardware mixer"), + _("When the hardware mixer changes, your application will receive " + "a notification so that it can update its graphical representation " + "of the mixer settings on the fly."), + 10, NULL, NULL); + + if (send_events && found) { pthread_attr_t pth_attrs; struct sched_param pth_params; -- cgit v1.2.3