diff options
| author | Berkus Decker <berkus@madfire.net> | 2015-09-22 19:02:52 +0300 |
|---|---|---|
| committer | Berkus Decker <berkus@madfire.net> | 2015-09-22 19:04:21 +0300 |
| commit | 33ce5cdac68e575320f6f867c731536267d79b35 (patch) | |
| tree | d62fc6f5b69d2c37ac8b2f92bc6db501bde27c8e /RtAudio.cpp | |
| parent | 73339493aeb2ecba8568b268f98a790420b7db41 (diff) | |
Don't take address of boolean flag, use flag itself instead.
Diffstat (limited to 'RtAudio.cpp')
| -rwxr-xr-x | RtAudio.cpp | 2 |
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 );
|
