Monday, July 14, 2008

Version 20080715 is released

Fixed the audio recording problem on audio recording
[Description]
   There is no sync code to wait for the convertor finishing its job causing the removing the audio source before/during the converting process. This bug makes the audio recording/converting process in an unstable status. In user level, this makes the audio function fails.

[Fixed code]
=> add the following sync codes to fix this problem.

------- code ----
WaitForSingleObject(pi.hProcess,INFINITE); // wait for lame compete its job. convert wav -> mp3
DeleteFile(FullWordWaveFile); // we had conver the FullWordWaveFile file into mp3 format, so, the *.wav file will be deleted.
-----------------

No comments: