zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 91a36e3416126ccffdba63e700dd3dec52514126
parent 2bced650d3a8fc0d5577870359a5a81598e92213
Author: fundamental <[email protected]>
Date:   Fri,  1 Jan 2010 13:17:01 -0500

AudioOut: Initialization fix

Diffstat:
Msrc/Nio/AudioOut.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Nio/AudioOut.cpp b/src/Nio/AudioOut.cpp @@ -27,7 +27,8 @@ using namespace std; AudioOut::AudioOut(OutMgr *out) :samplerate(SAMPLE_RATE),bufferSize(SOUND_BUFFER_SIZE), - usePartial(false),buffering(6),manager(out),enabled(false) + usePartial(false),current(Sample(SOUND_BUFFER_SIZE,0.0)), + buffering(6),manager(out),enabled(false) { pthread_mutex_init(&outBuf_mutex, NULL); pthread_cond_init (&outBuf_cv, NULL);