param.args[2] = (int) param.args[2] - 1024; Would this code caused the record buffer not read completely?