Fix mistaken following of 4Front documentation.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2000-12-10 10:53:37 +00:00
parent 922c1bab4f
commit 954447c1a6

View file

@ -65,8 +65,7 @@ qboolean SNDDMA_Init(void)
// open /dev/dsp, confirm capability to mmap, and get size of dma buffer // 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_RDWR);
audio_fd = open("/dev/dsp", O_WRONLY);
if (audio_fd < 0) if (audio_fd < 0)
{ {
perror("/dev/dsp"); perror("/dev/dsp");