mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +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
|
// 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");
|
||||||
|
|
Loading…
Reference in a new issue