#include "test.h"
#include "lib/audio_decoder.h"
#include "lib/single_stream_audio_content.h"
+#include <iostream>
using std::string;
using std::cout;
}
Frame audio_length () const {
- return rint (61.2942 * audio_stream()->frame_rate ());
+ return llrint (61.2942 * audio_stream()->frame_rate ());
}
};
{
public:
TestAudioDecoder (shared_ptr<TestAudioContent> content)
- : AudioDecoder (content)
+ : AudioDecoder (content, false)
, _test_audio_content (content)
, _position (0)
{}