# FMOD save to disk

**URL:** <https://qa.fmod.com/t/fmod-save-to-disk/13161>\
**Category:** FMOD Studio\
**Created:** [May 6, 2017, 3:06pm UTC](https://qa.fmod.com/t/fmod-save-to-disk/13161 "2017-05-06T15:06:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fanmingyi](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@fanmingyi](https://qa.fmod.com/u/fanmingyi)\
**Post date:** [May 6, 2017, 3:06pm UTC](https://qa.fmod.com/t/fmod-save-to-disk/13161/1 "2017-05-06T15:06:21Z")

</div>

In android, you must set the 'system - \> setOutput (FMOD\_OUTPUTTYPE\_OPENSL)'To the recording,But I need to save this recording so I want sytem - \> setOutput (FMOD\_OUTPUTTYPE\_WAVWRITER). How do you resolve the two conflicts

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [May 8, 2017, 12:19am UTC](https://qa.fmod.com/t/fmod-save-to-disk/13161/2 "2017-05-08T00:19:54Z")

</div>

Hello,

In order to play and record at the same time, you will need to set your project to be using the FMOD\_OUTPUTTYPE\_OPENSL to get the playback from your game to the speakers, but then you will need a custom DSP in order to use FMOD\_OUTPUTTYPE\_WAVWRITER to capture your output.

Please see our documentation for creating custom DSPs:  
[https://www.fmod.org/documentation#content/generated/overview/plugin\_api\_dsp.html](https://www.fmod.org/documentation#content/generated/overview/plugin_api_dsp.html)

I hope this helped.

Thanks,  
Richard
