projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f31e1f8
)
WASAPI : Removed unnecessary latency in I/O ring buffers
author
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Sun, 27 Jan 2019 23:22:31 +0000
(23:22 +0000)
committer
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Sun, 27 Jan 2019 23:22:31 +0000
(23:22 +0000)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index babe13b4c82bf9c5e3a03d5e816c7ea15047a82a..fa7f2d45a4be3b13310f1c8dcaf56d39ad399f03 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-3842,7
+3842,7
@@
public:
}
// "in" index can end on the "out" index but cannot begin at it
}
// "in" index can end on the "out" index but cannot begin at it
- if ( inIndex_ <
=
relOutIndex && inIndexEnd > relOutIndex ) {
+ if ( inIndex_ < relOutIndex && inIndexEnd > relOutIndex ) {
return false; // not enough space between "in" index and "out" index
}
return false; // not enough space between "in" index and "out" index
}
@@
-3903,7
+3903,7
@@
public:
}
// "out" index can begin at and end on the "in" index
}
// "out" index can begin at and end on the "in" index
- if ( outIndex_ < relInIndex && outIndexEnd > relInIndex ) {
+ if ( outIndex_ <
=
relInIndex && outIndexEnd > relInIndex ) {
return false; // not enough space between "out" index and "in" index
}
return false; // not enough space between "out" index and "in" index
}