diff options
author | Chris Robinson <[email protected]> | 2009-12-01 23:15:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-01 23:15:09 -0800 |
commit | 6cfc31777b7cca6714cf926fbc6e491c00a3f836 (patch) | |
tree | e535e539c85a82d29fc0956ee477aae2e25bc85e /Alc/alsa.c | |
parent | 0e1e8503e0f6fb73d06ba0dff6e5b2771b1df856 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |