summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2005-07-31 14:58:50 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2005-07-31 14:58:50 +0000
commit866d6e025e159f0b1d4cd72266c3a44a36437714 (patch)
tree3b77be75bdaaa7f292e203df884ebade69d2c3d1
parent0e91a5bc3a848675f4043cb9826f8f5f69264531 (diff)
downloadxine-lib-866d6e025e159f0b1d4cd72266c3a44a36437714.tar.gz
xine-lib-866d6e025e159f0b1d4cd72266c3a44a36437714.tar.bz2
s/HAS_ALSA/HAVE_ALSA/
CVS patchset: 7704 CVS date: 2005/07/31 14:58:50
-rw-r--r--src/audio_out/audio_alsa_out.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index a121fe89f..3fe787af3 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -26,16 +26,13 @@
* (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk>
*
*
- * $Id: audio_alsa_out.c,v 1.154 2005/07/31 14:39:39 jcdutton Exp $
+ * $Id: audio_alsa_out.c,v 1.155 2005/07/31 14:58:50 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-/* TODO: Make ./configure define this */
-// #define HAS_ALSA_1_0_9
-
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
@@ -474,7 +471,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
this->num_channels, err, snd_strerror(err));
goto close;
}
-#ifdef HAS_ALSA_1_0_9
+#ifdef HAVE_ALSA_1_0_9
/* Restrict a configuration space to contain only real hardware rates */
err = snd_pcm_hw_params_set_rate_resample(this->audio_fd, params, 0);
#endif