aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
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)
{