Fix Buffer Allocation

This commit is contained in:
fundamental 2013-08-15 18:03:14 -04:00
parent 1a928255f9
commit 65926bad13

View file

@ -69,9 +69,9 @@ Jack::Jack() :
masterR.resize( buffers.nframes );
/// prepare internal buffers
buffers.audio[Buffers::REVERB] = new float( buffers.nframes );
buffers.audio[Buffers::SIDECHAIN] = new float( buffers.nframes );
buffers.audio[Buffers::POST_SIDECHAIN] = new float( buffers.nframes );
buffers.audio[Buffers::REVERB] = new float[ buffers.nframes ];
buffers.audio[Buffers::SIDECHAIN] = new float[ buffers.nframes ];
buffers.audio[Buffers::POST_SIDECHAIN] = new float[ buffers.nframes ];
buffers.audio[Buffers::MASTER_OUT_L] = &masterL[0]; //new float( buffers.nframes );
buffers.audio[Buffers::MASTER_OUT_R] = &masterR[0]; //new float( buffers.nframes );