From 9a2b4c0e5adf94bdb420d2db04464c34b6ff3c57 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 13 Feb 2000 05:45:38 +0000 Subject: [PATCH] fix sound init --- common/snd_alsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/snd_alsa.c b/common/snd_alsa.c index 9d80a38..652cf4c 100644 --- a/common/snd_alsa.c +++ b/common/snd_alsa.c @@ -183,9 +183,9 @@ qboolean SNDDMA_Init(void) frag_size/=2; } - err_msg="audio flush"; - if ((rc=snd_pcm_channel_flush(pcm_handle, SND_PCM_CHANNEL_PLAYBACK))<0) - goto error; +// err_msg="audio flush"; +// if ((rc=snd_pcm_channel_flush(pcm_handle, SND_PCM_CHANNEL_PLAYBACK))<0) +// goto error; err_msg="audio munmap"; if ((rc=snd_pcm_munmap(pcm_handle, SND_PCM_CHANNEL_PLAYBACK))<0) goto error;