# System::setOutput after Studio::System::initialize

**URL:** https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164
**Category:** FMOD Studio
**Created:** [November 20, 2015, 10:17am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164 "2015-11-20T10:17:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![g.fishilevich](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@g.fishilevich](https://qa.fmod.com/u/g.fishilevich)
#### Post date: [November 20, 2015, 10:17am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/1 "2015-11-20T10:17:28Z")

</div>

Hi there,

I’ve trying to change the output from FMOD\_OUTPUTTYPE\_NOSOUND\_NRT to FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT after system init.

According to docs it should be fine:  
[http://www.fmod.org/documentation/#content/generated/FMOD\_System\_SetOutput.html](http://www.fmod.org/documentation/#content/generated/FMOD_System_SetOutput.html)

> This function can be called after FMOD is already activated. You can  
> use it to change the output mode at runtime.

But if I trying that, get to runtime:

> FMOD error 27 - Cannot call this command after System::init.

Any ideas?

regarding,  
Grigory

---

<div class="post-metadata">

### Author: ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)
#### Post date: [November 21, 2015, 2:12am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/2 "2015-11-21T02:12:02Z")

</div>

> [@](#):
>
> Hi there,
> 
> I’ve trying to change the output from FMOD\_OUTPUTTYPE\_NOSOUND\_NRT to FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT after system init.
> 
> According to docs it should be fine:  
> [http://www.fmod.org/documentation/#content/generated/FMOD\_System\_SetOutput.html](http://www.fmod.org/documentation/#content/generated/FMOD_System_SetOutput.html)
> 
> > This function can be called after FMOD is already activated. You can  
> > use it to change the output mode at runtime.
> 
> But if I trying that, get to runtime:
> 
> > FMOD error 27 - Cannot call this command after System::init.
> 
> Any ideas?
> 
> regarding,  
> Grigory

Hi which version of studio are you running?

---

<div class="post-metadata">

### Author: ![g.fishilevich](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@g.fishilevich](https://qa.fmod.com/u/g.fishilevich)
#### Post date: [November 21, 2015, 8:20am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/3 "2015-11-21T08:20:35Z")

</div>

Version 1.07.03, OS: Ubuntu

---

<div class="post-metadata">

### Author: ![rychu\_elektryk1](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@rychu\_elektryk1](https://qa.fmod.com/u/rychu_elektryk1)
#### Post date: [December 20, 2015, 11:40am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/4 "2015-12-20T11:40:09Z")

</div>

I’ve run across the same problem. Any solutions?

---

<div class="post-metadata">

### Author: ![rychu\_elektryk1](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@rychu\_elektryk1](https://qa.fmod.com/u/rychu_elektryk1)
#### Post date: [December 20, 2015, 11:50am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/5 "2015-12-20T11:50:23Z")

</div>

It seems that output CAN be changed multiple times after system has been initialized, but only if output was set at least once before system initialization. This isn’t obvious and should be stated in docs.

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [December 21, 2015, 5:05am UTC](https://qa.fmod.com/t/system-setoutput-after-studio-initialize/12164/6 "2015-12-21T05:05:13Z")

</div>

Runtime switching of the output mode is currently only supported on Windows. It looks like this fact is missing from the docs, I’ll make sure that is updated to avoid confusion.
