From 05e985d004bc397174a62d6f060b9742e9914087 Mon Sep 17 00:00:00 2001 From: Siggi Langauf Date: Thu, 17 Apr 2003 17:04:12 +0000 Subject: using non-blocking open mode, in order to avoid infinite waiting when the ALSA device is busy (eg. in ise by ESD) CVS patchset: 4631 CVS date: 2003/04/17 17:04:12 --- src/audio_out/audio_alsa_out.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 5190dd257..18e97e51e 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.90 2003/03/17 15:17:08 mroi Exp $ + * $Id: audio_alsa_out.c,v 1.91 2003/04/17 17:04:12 siggi Exp $ */ #ifdef HAVE_CONFIG_H @@ -178,8 +178,8 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int snd_pcm_sframes_t buffer_size; snd_pcm_sframes_t period_size; int err, dir; - // int open_mode=1; //NONBLOCK - int open_mode=0; //BLOCK + int open_mode=1; /* NONBLOCK */ + /* int open_mode=0; BLOCK */ snd_pcm_hw_params_alloca(¶ms); snd_pcm_sw_params_alloca(&swparams); -- cgit v1.2.3