aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-12 07:27:12 -0700
committerChris Robinson <[email protected]>2010-05-12 07:27:12 -0700
commita53e3dda75f329f6f2060e8e760a1a4f7edbe45a (patch)
tree38104808dcb3033975a7cb55e95ab77e974cb7aa /Alc/oss.c
parent2220c22c907026d8f4229ebf8b9eb75fb29810c9 (diff)
Don't needlessly expose a variable for the backends
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 31367365..5fee7734 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -82,7 +82,7 @@ static ALuint OSSProc(ALvoid *ptr)
ALint frameSize;
ssize_t wrote;
- EnableRTPrio(RTPrioLevel);
+ SetRTPriority();
frameSize = aluChannelsFromFormat(pDevice->Format) *
aluBytesFromFormat(pDevice->Format);
@@ -124,7 +124,7 @@ static ALuint OSSCaptureProc(ALvoid *ptr)
int frameSize;
int amt;
- EnableRTPrio(RTPrioLevel);
+ SetRTPriority();
frameSize = aluBytesFromFormat(pDevice->Format);
frameSize *= aluChannelsFromFormat(pDevice->Format);