summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RtAudio.cpp')
-rwxr-xr-xRtAudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index 8755b55..3875761 100755
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -8070,7 +8070,7 @@ static void *alsaCallbackHandler( void *ptr )
bool *isRunning = &info->isRunning;
#ifdef SCHED_RR // Undefined with some OSes (eg: NetBSD 1.6.x with GNU Pthread)
- if ( &info->doRealtime ) {
+ if ( info->doRealtime ) {
pthread_t tID = pthread_self(); // ID of this thread
sched_param prio = { info->priority }; // scheduling priority of thread
pthread_setschedparam( tID, SCHED_RR, &prio );