19/03/29 10:43:50.53 lpOPYMih.net
#include <windows.h>
#include <mmsystem.h>
#include <cstdio>
#include "wav2wav.cpp"
int main(int argc, char **argv)
{
char *pc1 = new char[256];
char *pc2 = new char[256];
PcmWave pw1(1, 16, 44100, (void *)pc1, 0);
PcmWave pw2(2, 16, 44100, (void *)pc2, 0);
pw1.load_from_file(argv[1]);
mono_to_stereo(pw1, pw2);
pw2.save_to_file(argv[2]);
return 0;
}