Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Pre-built binary at http://sharing-from-brook.16002.n6.nabble.com/file/n4967530/

# Build

cl tts.cpp lame.lib libmp3lame-static.lib mpglib-static.lib
cl tts.cpp lame.lib libmp3lame-static.lib mpglib-static.lib legacy_stdio_definitions.lib
8 changes: 8 additions & 0 deletions tts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
#include <queue>
#include <string>
#include <exception>

FILE _iob[] = {*stdin, *stdout, *stderr};

extern "C" FILE * __cdecl __iob_func(void)
{
return _iob;
}

extern "C"
{
int wav2mp3(char*inPath,char*outPath);
Expand Down