buf must be len*len_mult bytes in size(calculated)
As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data. The length of buf should be len*len_mult.
Sdl.SDL_AudioCVT Class | Tao.Sdl Namespace