Hi
Page 25 of the OpenML specification is speaking about the in-band messages. So why the first example in this page has used from the mlSetControls()?Here's the code snippet:
MLpv message[2];
MLint32 myEvents[2];
myEvents[0] = ML_EVENT_VIDEO_SEQUENCE_LOST;
myEvents[1] = ML_EVENT_VIDEO_VERTICAL_RETRACE;
message[0].param = ML_DEVICE_EVENTS_INT32_ARRAY;
message[0].value.pInt32 = myEvents;
message[0].length = sizeof(myEvents)/sizeof(MLint32);
message[0].maxLength=sizeof(myEvents)/sizeof(MLint32);
message[1].param = ML_END;
mlSetControls( someOpenPath, message);
Is it an error?
-ehsan-