summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2007-10-04 14:19:20 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:27:41 +0200
commitf61f0a2fa9906f4d1f8f13f773c2bb27796e8fab (patch)
tree8d47b4e0095d32578d7fbb374bb956583e8e256a /RtAudio.cpp
parenta5e3227590661cf8ed0f83c575aff44c85a9c478 (diff)
Added explicit initialization of buffers in DsHandle (gps).
Diffstat (limited to 'RtAudio.cpp')
-rw-r--r--RtAudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index dd76b59..64ffaa5 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -3223,7 +3223,7 @@ struct DsHandle {
HANDLE condition;
DsHandle()
- :drainCounter(0), internalDrain(false) { id[0] = 0, id[1] = 0; xrun[0] = false; xrun[1] = false; bufferPointer[0] = 0; bufferPointer[1] = 0; }
+ :drainCounter(0), internalDrain(false) { id[0] = 0; id[1] = 0; buffer[0] = 0; buffer[1] = 0; xrun[0] = false; xrun[1] = false; bufferPointer[0] = 0; bufferPointer[1] = 0; }
};
/*