OLA TimeCode

From OpenDMX.net

Jump to: navigation, search

There is very basic support for sending TimeCode data using OLA. At the moment the only output method is ArtNet.

From ola/timecode/TimeCode.h , ola/timecode/TimeCodeEnums.h & ola/OlaCallbackClient.h

ola::timecode::TimeCode timecode(ola::timecode::TIMECODE_EBU, hours, minutes, seconds, frames);

client.SendTimeCode(
    ola::NewSingleCallback(&TimeCodeDone),
    timecode);

An example program demonstrates how to use the API. To run it use:

$ ola_timecode -f FILM 0:0:0:0
Personal tools