Searched refs:wFile (Results 1 – 3 of 3) sorted by relevance
134 WAVE_FILE *wFile; in WaveFileCreate() local137 wFile = malloc(sizeof(WAVE_FILE)); in WaveFileCreate()138 if (!wFile) in WaveFileCreate()140 wFile->write = EAS_TRUE; in WaveFileCreate()143 wFile->file = fopen(filename,"wb"); in WaveFileCreate()144 if (!wFile->file) in WaveFileCreate()146 free(wFile); in WaveFileCreate()151 wFile->wh.nRiffTag = riffTag; in WaveFileCreate()152 wFile->wh.nRiffSize = sizeof(WAVE_HEADER) - 8; in WaveFileCreate()153 wFile->wh.nWaveTag = waveTag; in WaveFileCreate()[all …]
81 WAVE_FILE *wFile; in PlayFile() local87 wFile = NULL; in PlayFile()126 …wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM… in PlayFile()127 if (!wFile) in PlayFile()164 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize) in PlayFile()187 if (wFile) in PlayFile()189 if (!WaveFileClose(wFile)) in PlayFile()
67 EAS_I32 WaveFileWrite (WAVE_FILE *wFile, void *buffer, EAS_I32 n);68 EAS_BOOL WaveFileClose (WAVE_FILE *wFile);