in python the call to csound.GetOutputBuffer() returns a PySwigObject wrapping a double*.  how is this supposed to be used?  or rather, how can a get an array out of GetOutputBuffer()?

x = csound.GetOutputBuffer() # what do i do with x?

Also, using PerformBuffer() or PerformKsmps()  in a matlab Mex file causes a (very bad) segmentation fault in matlab.