doom: open /dev/audio with OWRITE instead of ORDWR
This commit is contained in:
parent
3a076c7a95
commit
89ab1f286e
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ void I_InitSound(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
audio_fd = open("/dev/audio", ORDWR);
|
||||
audio_fd = open("/dev/audio", OWRITE);
|
||||
if(audio_fd < 0)
|
||||
printf("WARN Failed to open /dev/audio, sound disabled\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue