fix sound init

This commit is contained in:
Bill Currie 2000-02-13 05:45:38 +00:00
parent 502d171cbf
commit 9a2b4c0e5a
1 changed files with 3 additions and 3 deletions

View File

@ -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;