Fixed a regression with audio files and seeking, added a few new methods, and more accurately detect the End() of clips.

This commit is contained in:
Jonathan Thomas
2012-10-14 02:36:05 -05:00
parent eace9f5efd
commit b647ff77c8
12 changed files with 309 additions and 269 deletions

View File

@@ -27,3 +27,9 @@ int Framerate::GetRoundedFPS() {
float Framerate::GetFPS() {
return (float) m_numerator / m_denominator;
}
// Return a Fraction of the framerate
Fraction Framerate::GetFraction()
{
return Fraction(m_numerator, m_denominator);
}