I don't think it is. outstereo is of type `short *` so it's `((char*)outstereo) + sizeof(short) * (numframes * 2 - remains)`