> When I try to write audio data (as short
int's) into an array that is
> initialised with 'x->x_buffer = (short
*) getzbytes(65536);', pd crashes
hi,
I think the correct allocation is
getzbytes( 65536*sizeof(short) ).
Otherwise, you might write in some pd's internal
zones
and behaviour becomes undefined.
You might have many weird errors after
that.
cheers,
Yves/
PS : getzbytes is obsolete, you
should use getbytes
( which is exactly the same
)/