aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.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/alsa.c
parent0e1e8503e0f6fb73d06ba0dff6e5b2771b1df856 (diff)
Add an option for real-time priority mixing
Default to disable for now, as a safety precaution
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 cfe80640..85092ceb 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -271,7 +271,7 @@ static ALuint ALSAProc(ALvoid *ptr)
char *WritePtr;
int err;
- EnableRTPrio();
+ EnableRTPrio(RTPrioLevel);
while(!data->killNow)
{
@@ -345,7 +345,7 @@ static ALuint ALSANoMMapProc(ALvoid *ptr)
snd_pcm_sframes_t avail;
char *WritePtr;
- EnableRTPrio();
+ EnableRTPrio(RTPrioLevel);
while(!data->killNow)
{
@@ -400,7 +400,7 @@ static ALuint ALSANoMMapCaptureProc(ALvoid *ptr)
alsa_data *data = (alsa_data*)pDevice->ExtraData;
snd_pcm_sframes_t avail;
- EnableRTPrio();
+ EnableRTPrio(RTPrioLevel);
while(!data->killNow)
{