
TCR1000SDK–Rev.3.0.0 Page8
TCR1000_ApiSetFrameRate
ThisfunctionisdeprecatedfortheTCR1000.SincetheTCR1000detectstheframerate,thisisno
longerfunctionnecessary.Itstillexists,buttheframerateissetfromthecarddata,notbythis
function.
TheTCR1000_ApiSetFrameRatefunctionsetstheframeratefortimecodetypesthatsupportsub‐
secondframerates.
BOOLTCR1000_ApiSetFrameRate(
WORDrate//thesub‐secondframerateofthetimecodeinuse
);
Parameters
rate
ThevalueofthisparameterisusedbytheAPI’sasynchronousandpollingtimefunctionstoderivethe
wMillisecondsmemberoftheTCRTIMEstructure.Currently,thisfeatureisavailableonlyforSMPTE‐
type
timecodeswithvalidframeratesbeing30,25,or24.
ReturnValues
TRUEifthefunctionsucceededinregisteringtheframerate.FALSEifthespecifiedframeratewas
invalidforthetimecodetypebeingdecoded,orifthetimecodedoesnotsupportsub‐secondframe
rates.
Remarks
TheAPIwillnotsetthewMillisecondsmemberintheTCRTIMEdatastructurereturnedby
asynchronousandpolledtimefunctionsunlessthetimecodeframerateisspecifiedbytheuser
application.Someasynchronousfunctions,suchasASYNC_TIMESETandASYNC_PERSECwillset
wMillisecondsto0
anywaysincetheeventalwaysfallsonaone‐secondboundary.
Comentários a estes Manuais