#include #include "HybridWhisperVoiceTyping.hpp" #include "HybridWhisperSession.hpp" #include "findLongestSilence_test.hpp" #include "SingleThread_test.hpp" using namespace margelo::nitro::whispervoicetyping; SessionPointer HybridWhisperVoiceTyping::openSession(const SessionOptions& options) { return std::make_shared (options); } std::shared_ptr> HybridWhisperVoiceTyping::test() { return Promise::async([=] () -> void { findLongestSilence_test(); SingleThread_test(); }); }