aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index c3cd9528..4a7a48be 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -82,6 +82,8 @@ static ALuint OSSProc(ALvoid *ptr)
ALint frameSize;
ssize_t wrote;
+ EnableRTPrio();
+
frameSize = aluChannelsFromFormat(pDevice->Format) *
aluBytesFromFormat(pDevice->Format);
@@ -122,6 +124,8 @@ static ALuint OSSCaptureProc(ALvoid *ptr)
int frameSize;
int amt;
+ EnableRTPrio();
+
frameSize = aluBytesFromFormat(pDevice->Format);
frameSize *= aluChannelsFromFormat(pDevice->Format);