doom: open /dev/audio with OWRITE instead of ORDWR

This commit is contained in:
cinap_lenrek 2011-08-01 05:34:46 +02:00
parent 3a076c7a95
commit 89ab1f286e

View file

@ -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");