|
|
|
|
@ -101,10 +101,6 @@ void ASyncBufferFun_Main(World *inWorld, void* inUserData, struct sc_msg_iter *m
|
|
|
|
|
{
|
|
|
|
|
BufferFunTimeCmdData* data = (BufferFunTimeCmdData*)RTAlloc(inWorld, sizeof(BufferFunTimeCmdData));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// size_t srcFrameCount = srcBuf->frames;
|
|
|
|
|
// size_t srcChanCount = srcBuf->channels;
|
|
|
|
|
|
|
|
|
|
data->srcbuf = msg->geti();
|
|
|
|
|
data->dstbuf = msg->geti();
|
|
|
|
|
data->rank = msg->geti();
|
|
|
|
|
@ -130,7 +126,6 @@ void ASyncBufferFun_Main(World *inWorld, void* inUserData, struct sc_msg_iter *m
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// how to pass a string argument: [WILL BE USEFUL FOR WINDOW FUNCTIONS?]
|
|
|
|
|
// const char *name = msg->gets(); // get the string argument
|
|
|
|
|
// if (name) {
|
|
|
|
|
@ -144,7 +139,7 @@ void ASyncBufferFun_Main(World *inWorld, void* inUserData, struct sc_msg_iter *m
|
|
|
|
|
if(completionMsgSize)
|
|
|
|
|
{
|
|
|
|
|
//allocate string
|
|
|
|
|
completionMsgString = (char*)RTAlloc(inWorld,sizeof(completionMsgSize));
|
|
|
|
|
completionMsgString = (char*)RTAlloc(inWorld,completionMsgSize);
|
|
|
|
|
msg->getb(completionMsgString,completionMsgSize);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|