mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-21 19:51:09 +00:00
Fix mistaken following of 4Front documentation.
This commit is contained in:
parent
922c1bab4f
commit
954447c1a6
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue