# How do I know that the job of saving the file has been completed when setting FMOD\_OUTPUTTYPE\_WAVWRITER output ?（Android）

**URL:** <https://qa.fmod.com/t/how-do-i-know-that-the-job-of-saving-the-file-has-been-completed-when-setting-fmod-outputtype-wavwriter-output-android/13764>\
**Category:** FMOD Engine\
**Created:** [March 17, 2018, 1:50am UTC](https://qa.fmod.com/t/how-do-i-know-that-the-job-of-saving-the-file-has-been-completed-when-setting-fmod-outputtype-wavwriter-output-android/13764 "2018-03-17T01:50:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunny](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Sunny](https://qa.fmod.com/u/Sunny)\
**Post date:** [March 17, 2018, 1:50am UTC](https://qa.fmod.com/t/how-do-i-know-that-the-job-of-saving-the-file-has-been-completed-when-setting-fmod-outputtype-wavwriter-output-android/13764/1 "2018-03-17T01:50:29Z")

</div>

I use FMOD\_OUTPUTTYPE\_WAVWRITER output and it automatically writes the output to the disk.I got the audio file successfully.But another problem,How do I know that the job of saving the file has been completed ? I want to do someting when the output job is done. Can you help me ?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 23, 2018, 2:40am UTC](https://qa.fmod.com/t/how-do-i-know-that-the-job-of-saving-the-file-has-been-completed-when-setting-fmod-outputtype-wavwriter-output-android/13764/2 "2018-03-23T02:40:48Z")

</div>

FMOD will constantly write to the file while it is running, as FMOD is released/shutdown it will close the file.

So if FMOD has released successfully and there aren’t any other errors, you can safely assume the file has been written to and closed.
