<html><body bgcolor="#FFFFFF"><div><blockquote type="cite"><div><br></div></blockquote><div></div><blockquote type="cite"><div>
<div><font face="Tahoma" size="2">I'm attempting to read from an input, process
with a delay, and output in realtime and my program stops when delay->tick is
called with an "access segmentation" or memory error. I'm on Windows
XP, using ASIO only. I have been able to successfully use the Duplex
program which uses memcpy to copy the inputBuffer to outputBuffer. I've
tried different classes including Chorus but with the same result. I
apologize in advance if I'm missing something simple, but I've poured through
all the documentation and examples I could find.</font></div>
<div><font face="Tahoma" size="2"></font> </div>
<div><font face="Tahoma" size="2">Thanks,</font></div>
<div><font face="Tahoma" size="2">Ben</font></div>
<div><font face="Tahoma" size="2"></font> </div>
<div><font face="Tahoma" size="2">int tick( void *outputBuffer, void *inputBuffer,
unsigned int nBufferFrames,<br>
double streamTime, RtAudioStreamStatus status, void *dataPointer
)<br>{<br> Delay *delay = (Delay *) dataPointer;<br> StkFloat
*oSamples = (StkFloat *) outputBuffer;<br> StkFloat *iSamples = (StkFloat
*) inputBuffer;<br>
<br> for ( int i=0; i<nBufferFrames; i++
)<br> *oSamples++ =
delay->tick(*iSamples++);<br>
<br> return 0; <br>}</font></div>
</div></blockquote></div><div></div></body></html>