Segfault/no signal when using csoundPerformBuffer - fine when reading *.wav from disk

The distortion *.csd at http://www.donreiman.com/Distortion/Distortion.htm works fine when loading a *.wav file from disk, but I keep getting a blank wave or a segfault when performing the score using csoundPerformBuffer.

Filling the buffer manually from the host program isn't a problem when using the reverb opcode for example.

Is there a fundamental difference between the audio array returned by ins and the array returned by soundin?

I'd be really grateful for all help!

Esther

generic viagra cialis uk zpack ed drugs cheap generic viagra viagra online pharmacy uk buy viagra uk generic cialis z pack z-pak viagra uk kamagra uk ed pills Canadian pharmacy Canadian pharmacy viagra staxyn avanafil z pak buy zithromax z-pack cialis online zpak