Metti std::vector<float> Source.
Quasi sicuramente è quello il problema.