From 8b3ad27239209d610b39d24f5991564fffe1b492 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 24 Sep 2005 19:27:33 +0000 Subject: - remove have_alsa_1_0_9 - note about overlay cropping fix CVS patchset: 7740 CVS date: 2005/09/24 19:27:33 --- src/audio_out/audio_alsa_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 3fe787af3..9f188222c 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.155 2005/07/31 14:58:50 dsalt Exp $ + * $Id: audio_alsa_out.c,v 1.156 2005/09/24 19:27:33 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -471,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 HAVE_ALSA_1_0_9 +#if SND_LIB_VERSION >= 0x010009 /* Restrict a configuration space to contain only real hardware rates */ err = snd_pcm_hw_params_set_rate_resample(this->audio_fd, params, 0); #endif -- cgit v1.2.3