summaryrefslogtreecommitdiff
path: root/libs/timecode/timecode
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2012-11-13 16:14:25 +0000
committerRobin Gareus <robin@gareus.org>2012-11-13 16:14:25 +0000
commit55c7a3bf01ddbc22620eccbf682f5094e6be97e3 (patch)
treea40aee060c8bbe7495b6bb3e8fa430919e11c08b /libs/timecode/timecode
parent1f1cba381496187b3e442f02a4c5657a2cabd891 (diff)
add timecode format parser
git-svn-id: svn://localhost/ardour2/branches/3.0@13479 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/timecode/timecode')
-rw-r--r--libs/timecode/timecode/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/timecode/timecode/time.h b/libs/timecode/timecode/time.h
index 23655bfe5d..dcd537c7e5 100644
--- a/libs/timecode/timecode/time.h
+++ b/libs/timecode/timecode/time.h
@@ -112,6 +112,8 @@ std::string timecode_format_sampletime (
double timecode_frames_per_second, bool timecode_drop_frames
);
+bool parse_timecode_format(std::string tc, Timecode::Time &TC);
+
void
timecode_to_sample(
Timecode::Time& timecode, int64_t& sample,