Mercurial > hg > svcore
diff base/RealTime.h @ 494:81963c51b488
* Add ability to export a transform structure as RDF -- for use
when exporting data from runner, so as to refer back to the generating
transform from the audio features rdf
* some improvements to pane & layer management when importing rdf, but
it's all still a big hack here
author | Chris Cannam |
---|---|
date | Tue, 25 Nov 2008 17:46:02 +0000 |
parents | beb2948baa77 |
children | 75f154085a4d |
line wrap: on
line diff
--- a/base/RealTime.h Tue Nov 25 13:43:56 2008 +0000 +++ b/base/RealTime.h Tue Nov 25 17:46:02 2008 +0000 @@ -133,6 +133,11 @@ std::string toSecText() const; /** + * Return a string in xsd:duration format. + */ + std::string toXsdDuration() const; + + /** * Convert a RealTime into a sample frame at the given sample rate. */ static long realTime2Frame(const RealTime &r, unsigned int sampleRate);