aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.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/alsa.c
parent2220c22c907026d8f4229ebf8b9eb75fb29810c9 (diff)
Don't needlessly expose a variable for the backends
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index debab873..eadafee8 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -358,7 +358,7 @@ static ALuint ALSAProc(ALvoid *ptr)
char *WritePtr;
int err;
- EnableRTPrio(RTPrioLevel);
+ SetRTPriority();
while(!data->killNow)
{
@@ -432,7 +432,7 @@ static ALuint ALSANoMMapProc(ALvoid *ptr)
snd_pcm_sframes_t avail;
char *WritePtr;
- EnableRTPrio(RTPrioLevel);
+ SetRTPriority();
while(!data->killNow)
{
@@ -488,7 +488,7 @@ static ALuint ALSANoMMapCaptureProc(ALvoid *ptr)
alsa_data *data = (alsa_data*)pDevice->ExtraData;
snd_pcm_sframes_t avail;
- EnableRTPrio(RTPrioLevel);
+ SetRTPriority();
while(!data->killNow)
{