summaryrefslogtreecommitdiffstats
path: root/Examples/main/textWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/main/textWriter.h')
-rw-r--r--Examples/main/textWriter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/main/textWriter.h b/Examples/main/textWriter.h
new file mode 100644
index 0000000..a5e46dc
--- /dev/null
+++ b/Examples/main/textWriter.h
@@ -0,0 +1,7 @@
+#pragma once
+#include "../../Whisper/API/iContext.cl.h"
+
+// These functions print output segments into text files of various formats
+HRESULT writeText( Whisper::iContext* context, LPCTSTR audioPath, bool timestamps );
+HRESULT writeSubRip( Whisper::iContext* context, LPCTSTR audioPath );
+HRESULT writeWebVTT( Whisper::iContext* context, LPCTSTR audioPath ); \ No newline at end of file