diff options
| author | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-01-27 23:22:31 +0000 |
|---|---|---|
| committer | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-01-27 23:22:31 +0000 |
| commit | 482eceb06ac1c19260e120a2c9e6dc1d04d28fcb (patch) | |
| tree | c87a7f3426649b60b0d9dd913e6e70f9d3b99367 /RtAudio.cpp | |
| parent | f31e1f80e4b96001735fb7faad9a21014906643b (diff) | |
WASAPI : Removed unnecessary latency in I/O ring buffers
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index babe13b..fa7f2d4 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -3842,7 +3842,7 @@ public: } // "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 } @@ -3903,7 +3903,7 @@ public: } // "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 } |
