Change addData(Frame_t *frame, int type,int data) for addData(Frame_t
*frame, int type,float fdata)