diff options
Diffstat (limited to 'code/unix/linux_snd.c')
-rw-r--r-- | code/unix/linux_snd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/code/unix/linux_snd.c b/code/unix/linux_snd.c index 6c589bc..676b7d5 100644 --- a/code/unix/linux_snd.c +++ b/code/unix/linux_snd.c @@ -82,7 +82,6 @@ qboolean SNDDMA_Init(void) // char *s; // bk001204 - unused struct audio_buf_info info; int caps; - extern uid_t saved_euid; if (snd_inited) return 1; @@ -96,12 +95,8 @@ qboolean SNDDMA_Init(void) // open /dev/dsp, confirm capability to mmap, and get size of dma buffer if (!audio_fd) { - seteuid(saved_euid); - audio_fd = open(snddevice->string, O_RDWR); - seteuid(getuid()); - if (audio_fd < 0) { perror(snddevice->string); Com_Printf("Could not open %s\n", snddevice->string); |