I have to developpe an ASIO host with the ASIO SDK 2.1.
The first thing I'm trying to do is simply to copy the input buffer into the output buffer.
But I get strange sound in the output...
I don't know if it's the good forum to speak about that.
I past here my callback functions which uses in fact only memcopy:
Code: Select all
ASIOTime *bufferSwitchTimeInfo(ASIOTime *timeInfo, long index, ASIOBool processNow)
{
bufferSwitch(index, processNow);
return 0L;
}
void bufferSwitch(long index, ASIOBool processNow)
{
long buffSize = asioDriverInfo.preferredSize;
memcpy(asioDriverInfo.bufferInfos[4].buffers[index], asioDriverInfo.bufferInfos[2].buffers[index],buffSize);
memcpy(asioDriverInfo.bufferInfos[5].buffers[index], asioDriverInfo.bufferInfos[3].buffers[index],buffSize);
}Please tell me if you have a clue.
Thanks a lot
CU
BigBulle
