diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-06-20 15:04:19 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-06-20 15:04:19 +0000 |
commit | 56302e657057e06fdc5dbbee651ad494d8762cd9 (patch) | |
tree | 0330da25abf5bf9756263ab04239cd205d09802b | |
parent | f81ad3216be599cbb761b8d0ff7c8459fd6d44ff (diff) | |
download | xine-lib-56302e657057e06fdc5dbbee651ad494d8762cd9.tar.gz xine-lib-56302e657057e06fdc5dbbee651ad494d8762cd9.tar.bz2 |
this is supposedly a boolean
CVS patchset: 6715
CVS date: 2004/06/20 15:04:19
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 19 |
1 files changed, 9 insertions, 10 deletions
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 <James@superbug.demon.co.uk> * * - * $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; |