49 #ifdef SUPPORT_MPLAYER 57 static void find_tempfile(
void)
63 if (!(s=
getenv(
"TEMPDIR")))
69 sprintf(buffer,
"est%4d.wav", getpid());
80 inwave.
save(temppath,
"riff");
85 "mplayer /play %s\\%s",
86 (
const char *)tempdir,
87 (
const char *)tempfile);
89 cout <<
"command '" << command <<
"'\n";
104 cerr <<
"Windows mplayer not supported" << endl;
A class for storing digital waveforms. The waveform is stored as an array of 16 bit shorts...
Utility IO Function header file.
static EST_Pathname append(EST_Pathname directory, EST_Pathname addition)
EST_write_status save(const EST_String filename, const EST_String EST_filetype="")
int play_mplayer_wave(EST_Wave &inwave, EST_Option &al)
EST_Pathname as_directory(void) const