aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-01 23:15:09 -0800
committerChris Robinson <[email protected]>2009-12-01 23:15:09 -0800
commit6cfc31777b7cca6714cf926fbc6e491c00a3f836 (patch)
treee535e539c85a82d29fc0956ee477aae2e25bc85e /Alc/oss.c
parent0e1e8503e0f6fb73d06ba0dff6e5b2771b1df856 (diff)
Add an option for real-time priority mixing
Default to disable for now, as a safety precaution
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 4a7a48be..94380fde 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -82,7 +82,7 @@ static ALuint OSSProc(ALvoid *ptr)
ALint frameSize;
ssize_t wrote;
- EnableRTPrio();
+ EnableRTPrio(RTPrioLevel);
frameSize = aluChannelsFromFormat(pDevice->Format) *
aluBytesFromFormat(pDevice->Format);
@@ -124,7 +124,7 @@ static ALuint OSSCaptureProc(ALvoid *ptr)
int frameSize;
int amt;
- EnableRTPrio();
+ EnableRTPrio(RTPrioLevel);
frameSize = aluBytesFromFormat(pDevice->Format);
frameSize *= aluChannelsFromFormat(pDevice->Format);