From 954447c1a6cc28e1d5676a419ee168196fb9ae5f Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 10 Dec 2000 10:53:37 +0000 Subject: [PATCH] Fix mistaken following of 4Front documentation. --- source/snd_oss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/snd_oss.c b/source/snd_oss.c index cb7d8c4..b89b055 100644 --- a/source/snd_oss.c +++ b/source/snd_oss.c @@ -65,8 +65,7 @@ qboolean SNDDMA_Init(void) // open /dev/dsp, confirm capability to mmap, and get size of dma buffer -// audio_fd = open("/dev/dsp", O_RDWR); - audio_fd = open("/dev/dsp", O_WRONLY); + audio_fd = open("/dev/dsp", O_RDWR); if (audio_fd < 0) { perror("/dev/dsp");