# Problem with FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT

**URL:** https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625
**Category:** FMOD Engine
**Created:** [January 7, 2018, 11:06am UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625 "2018-01-07T11:06:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kschoice](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kschoice](https://qa.fmod.com/u/kschoice)
#### Post date: [January 7, 2018, 11:06am UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/1 "2018-01-07T11:06:40Z")

</div>

Hello,

I’m using FMOD engine with output mode FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT to create video replay files of my game.

The problem is as follows : everything works as intended when I link against fmodL.dll.  
When I link against fmod.dll however, only the first 3D sound, and no 2D sounds at all, are recorded in the WAV file.

Is there something obvious I’m missing ?

---

<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: [January 8, 2018, 12:06am UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/2 "2018-01-08T00:06:49Z")

</div>

FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT should behave the same in both debug and release builds. Nothing obvious comes to mind, it sounds like something else must be effecting the events. Are the events all working as expected when not using wavwriter?

---

<div class="post-metadata">

### Author: ![kschoice](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kschoice](https://qa.fmod.com/u/kschoice)
#### Post date: [January 8, 2018, 7:58am UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/3 "2018-01-08T07:58:10Z")

</div>

Thanks for your reply.

By events, do you mean the outcome of the program in general or something specific about FMOD ?

In respect to the expected outcome of the program, everything works perfectly as long as I’m not using FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT and fmod.dll conjointly. With the same executable for my program, using fmod.dll when creating the WAV file doesn’t work, while using fmodL.dll, renamed to fmod.dll, in its place, does work.

I have no other idea how to investigate this issue.

---

<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: [January 8, 2018, 10:24pm UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/4 "2018-01-08T22:24:00Z")

</div>

> [@](#):
>
> Thanks for your reply.
> 
> By events, do you mean the outcome of the program in general or something specific about FMOD ?
> 
> In respect to the expected outcome of the program, everything works perfectly as long as I’m not using FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT and fmod.dll conjointly. With the same executable for my program, using fmod.dll when creating the WAV file doesn’t work, while using fmodL.dll, renamed to fmod.dll, in its place, does work.
> 
> I have no other idea how to investigate this issue.

Sorry, events is the term used in the Studio API, I was meaning the sounds.  
What version of FMOD are you currently using?

---

<div class="post-metadata">

### Author: ![kschoice](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kschoice](https://qa.fmod.com/u/kschoice)
#### Post date: [January 9, 2018, 6:03am UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/5 "2018-01-09T06:03:24Z")

</div>

And I should have said I’m using the low level API. Version is 1.10.02.

---

<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: [January 9, 2018, 10:55pm UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/6 "2018-01-09T22:55:34Z")

</div>

Are you able to get it working using the examples included with the API download at all? This is usually a good way to test if a setting or lib is at fault.

---

<div class="post-metadata">

### Author: ![kschoice](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kschoice](https://qa.fmod.com/u/kschoice)
#### Post date: [January 10, 2018, 1:06pm UTC](https://qa.fmod.com/t/problem-with-fmod-outputtype-wavwriter-nrt/13625/7 "2018-01-10T13:06:52Z")

</div>

I tried using FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT and FMOD\_INIT\_STREAM\_FROM\_UPDATE in the “3d” example, and the resulting WAV file was as expected.  
Then I tried recreating the problem with my game and it worked correctly as well. I have no clue what happened. I’ll let you know if I have issues again.
