print(filter.getInputType() + " buffer[" + filter.getPeekInt() + "];\n"); print(" for (i = 0; i < " + filter.getPeekInt() + "; i++)\n"); print("   buffer[i] = "); if (filter.getInputType().equals(CStdType.Float)) print("static_receive_f();\n"); else print("static_receive();\n");
if (filter instanceof SIRTwoStageFilter) printTwoStageInitWork(); else { print(filter.getInputType() + " buffer[" + filter.getPeekInt() + "];\n"); print(" for (i = 0; i < " + filter.getPeekInt() + "; i++)\n"); print("   buffer[i] = "); if (filter.getInputType().equals(CStdType.Float)) print("static_receive_f();\n"); else print("static_receive();\n"); }
    private void printWorkHeader()     {	print("{\n");	if (filter.getPeekInt() > 0) {	    print("int i, count = -1;\n");	    print(filter.getInputType() + 		  " buffer[" + filter.getPeekInt() + "];\n");	    print(" for (i = 0; i < " + filter.getPeekInt() + "; i++)\n");	    print("   buffer[i] = ");	    if (filter.getInputType().equals(CStdType.Float))		print("static_receive_f();\n");	    else 		print("static_receive();\n");	}		print(" while (1) {\n");    }