So, I need to translate the C library into pure java so that it looks good, but I'm stuck here.
Can someone explain to me what the next pointer is for?
double *DTimeSigBuf[MAX_TIME_CHANNELS];
Good. I know this is a double pointer type called DTimeSigBuf, but what is it in brackets? also MAX_TIME_CHANNELS is defined in the h file as:
#define MAX_TIME_CHANNELS 2
then in the code this constant value changes, as well as its indication elsewhere, but I donβt know what it means. it is equivalent to say:
double *DTimeSigBuf = MAX_TIME_CHANNELS;
if I remember well that the assembler had something similar, for example: mov [BX], CL is called the indirect addressing mode register, does this have anything to do with this? I know that I can be completely lost! because, as the name says, I am a Java programmer.
And another question, what is the effect of this:
DTimeSigBuf[chanNum] = (double*)malloc(block_size_samples*sizeof(double));
Where is block_size_samples int and chanNum for an iterator variable?
Please, help! I swear I work on the Internet all the time.
Thanks guys:)