[Summary] Fixed main callback input data size issue: incorrect size of the buffer was provided during memory copy procedure

This commit is contained in:
Greg Zharun 2014-09-10 19:18:24 +03:00
parent 4760e4d88f
commit 3d7a062215

View file

@ -1128,7 +1128,7 @@ WavesAudioBackend::_read_audio_data_from_device (const float* input_buffer, pfra
{
#if defined(PLATFORM_WINDOWS)
const float **buffer = (const float**)input_buffer;
size_t copied_bytes = nframes*sizeof(float*);
size_t copied_bytes = nframes*sizeof(float);
for(std::vector<WavesAudioPort*>::iterator it = _physical_audio_inputs.begin ();
it != _physical_audio_inputs.end();