Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / audio_content.cc
index 4d821ad6008e0b36f78fde9655e63642fb7e15e8..c67a66ed8a00f669e768a32db5be27626524eb19 100644 (file)
@@ -25,7 +25,9 @@
 #include "raw_convert.h"
 #include "compose.hpp"
 #include <libcxml/cxml.h>
+#include <libxml++/libxml++.h>
 #include <boost/foreach.hpp>
+#include <iostream>
 
 #include "i18n.h"
 
@@ -206,7 +208,7 @@ AudioContent::resampled_audio_frame_rate () const
                t /= frc.speed_up;
        }
 
-       return rint (t);
+       return lrint (t);
 }
 
 string