projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7333949
)
Don't take address of boolean flag, use flag itself instead.
author
Berkus Decker
<berkus@madfire.net>
Tue, 22 Sep 2015 16:02:52 +0000
(19:02 +0300)
committer
Berkus Decker
<berkus@madfire.net>
Tue, 22 Sep 2015 16:04:21 +0000
(19:04 +0300)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index 8755b55caba4618a6ff17d41c19f79b7741c884a..3875761fab5a009307b2f8b3bfd33e11df6f7cbd 100755
(executable)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-8070,7
+8070,7
@@
static void *alsaCallbackHandler( void *ptr )
bool *isRunning = &info->isRunning;
\r
\r
#ifdef SCHED_RR // Undefined with some OSes (eg: NetBSD 1.6.x with GNU Pthread)
\r
- if (
&
info->doRealtime ) {
\r
+ if ( info->doRealtime ) {
\r
pthread_t tID = pthread_self(); // ID of this thread
\r
sched_param prio = { info->priority }; // scheduling priority of thread
\r
pthread_setschedparam( tID, SCHED_RR, &prio );
\r