# FMOD Engine

**URL:** https://qa.fmod.com/c/fmodapi/6.md?page=53

[Latest](https://qa.fmod.com/latest.md) · [Categories](https://qa.fmod.com/categories.md) · [Tags](https://qa.fmod.com/tags.md)

**Page:** 54

---

## [Output Recording](https://qa.fmod.com/t/output-recording/11684)

<div class="topic-metadata">

**Author:** [@yuri](https://qa.fmod.com/u/yuri)\
**Replies:** 2\
**Last updated:** [October 20, 2014, 12:06pm UTC](https://qa.fmod.com/t/output-recording/11684 "2014-10-20T12:06:24Z")

</div>

I am trying to find out how to get the output sample data. So I can supply it to one of my encoders(for live streaming). The first option I have looked at is using a custom DSP. It seems the sample rate is supplied with…

---

## [Documentation location](https://qa.fmod.com/t/documentation-location/11673)

<div class="topic-metadata">

**Author:** [@ssaulls](https://qa.fmod.com/u/ssaulls)\
**Replies:** 1\
**Last updated:** [October 16, 2014, 2:41am UTC](https://qa.fmod.com/t/documentation-location/11673 "2014-10-16T02:41:20Z")

</div>

Is all the information needed for the integration of FMOD Studio and a custom game engine found in the PDF ‘FMOD Studio Plug-in Development’ located in the FMOD Programmers API’s doc folder?

---

## [Will end of the sound cause channel to be reused by priority system?](https://qa.fmod.com/t/will-end-of-the-sound-cause-channel-to-be-reused-by-priority-system/11669)

<div class="topic-metadata">

**Author:** [@vavius](https://qa.fmod.com/u/vavius)\
**Replies:** 2\
**Last updated:** [October 14, 2014, 8:23am UTC](https://qa.fmod.com/t/will-end-of-the-sound-cause-channel-to-be-reused-by-priority-system/11669 "2014-10-14T08:23:38Z")

</div>

I’m integrating fmod low-level API for our very simple use case and binding some functionality to Lua. I have a wrapper object for Channel with some control API (like pause, resume, volume, position), that keeps referenc…

---

## [Hardcoding setSoftwareFormat/setDSPBufferSize safe?](https://qa.fmod.com/t/hardcoding-setsoftwareformat-setdspbuffersize-safe/11667)

<div class="topic-metadata">

**Author:** [@Mitnainartinarian](https://qa.fmod.com/u/Mitnainartinarian)\
**Replies:** 1\
**Last updated:** [October 12, 2014, 10:50pm UTC](https://qa.fmod.com/t/hardcoding-setsoftwareformat-setdspbuffersize-safe/11667 "2014-10-12T22:50:25Z")

</div>

Is it safe to hardcode the values for System::setDSPBufferSize and System::setSoftwareFormat? mSystem-\>setDSPBufferSize(512, 4); mSystem-\>setSoftwareFormat(44100, FMOD\_SPEAKERMODE\_DEFAULT, 0); On my Android test device…

---

## [setReverbProperties on master channel group causes stack overflow](https://qa.fmod.com/t/setreverbproperties-on-master-channel-group-causes-stack-overflow/11663)

<div class="topic-metadata">

**Author:** [@bibendovsky](https://qa.fmod.com/u/bibendovsky)\
**Replies:** 1\
**Last updated:** [October 10, 2014, 3:58am UTC](https://qa.fmod.com/t/setreverbproperties-on-master-channel-group-causes-stack-overflow/11663 "2014-10-10T03:58:06Z")

</div>

Calling setReverbProperties on default master channel group with non-zero wet level causes stack overflow in update method. Tested on version 1.05.02. Code sample: #include \<cassert\> #include \<fmod.hpp\> #include \<threa…

---

## [FMod 1.05.02 Matrix Callback issues.](https://qa.fmod.com/t/fmod-1-05-02-matrix-callback-issues/11664)

<div class="topic-metadata">

**Author:** [@jmora](https://qa.fmod.com/u/jmora)\
**Replies:** 1\
**Last updated:** [October 9, 2014, 12:43am UTC](https://qa.fmod.com/t/fmod-1-05-02-matrix-callback-issues/11664 "2014-10-09T00:43:18Z")

</div>

I am having trouble setting up callbacks with the latest release of FMod API 1.05.02. In my class I have: { private: FMOD\_PAN\_SUM\_MONO\_MATRIX sumMonoMatrix; } then in my class create method, I have: sumMo…

---

## [Confusion about System addDsp](https://qa.fmod.com/t/confusion-about-system-adddsp/11601)

<div class="topic-metadata">

**Author:** [@Keitel](https://qa.fmod.com/u/Keitel)\
**Replies:** 31\
**Last updated:** [October 8, 2014, 8:20am UTC](https://qa.fmod.com/t/confusion-about-system-adddsp/11601 "2014-10-08T08:20:40Z")

</div>

Hi In Fmod ex you had a command FMOD\_System\_AddDSP or System::AddDSP, but which has been removed in FMOD5. So what command should I now use instead? Thanks in advance Sincerely Keitel

---

## [FMOD for java desktop game](https://qa.fmod.com/t/fmod-for-java-desktop-game/11641)

<div class="topic-metadata">

**Author:** [@brxeno](https://qa.fmod.com/u/brxeno)\
**Replies:** 5\
**Last updated:** [October 5, 2014, 10:58pm UTC](https://qa.fmod.com/t/fmod-for-java-desktop-game/11641 "2014-10-05T22:58:34Z")

</div>

Noob question: My team is making a game in java for desktop windows. Would we download the windows API and then use something like JNI to use the c libraries, or would we just download the android API? Pardon my programm…

---

## [WARNING AsyncCommandBuffer::gameWriteFull](https://qa.fmod.com/t/warning-asynccommandbuffer-gamewritefull/11646)

<div class="topic-metadata">

**Author:** [@praporomsk](https://qa.fmod.com/u/praporomsk)\
**Replies:** 2\
**Last updated:** [October 5, 2014, 10:40pm UTC](https://qa.fmod.com/t/warning-asynccommandbuffer-gamewritefull/11646 "2014-10-05T22:40:11Z")

</div>

My steps: I played in game with Fmod studio I got call to my phone (or used Siri) I returned to game my sound didn’t playing after 5 sec i got warning FMOD: AsyncCommandBuffer::gameWriteFull : WARNING. …

---

## [setDefaults no longer allows you to set default volume. An oversight?](https://qa.fmod.com/t/setdefaults-no-longer-allows-you-to-set-default-volume-an-oversight/11659)

<div class="topic-metadata">

**Author:** [@meanfox1](https://qa.fmod.com/u/meanfox1)\
**Replies:** 1\
**Last updated:** [October 5, 2014, 4:19am UTC](https://qa.fmod.com/t/setdefaults-no-longer-allows-you-to-set-default-volume-an-oversight/11659 "2014-10-05T04:19:14Z")

</div>

In FMOD Ex the API included volume and pan. These are missing in FMOD Studio Low Level. Setting volume was convenient because it allowed me to adjust sample volumes without editing the actual sound file. Is there another…

---

## [loadBankFile hangs on iOS when setting DSPBufferSize to ( 128, 4 ) or lower](https://qa.fmod.com/t/loadbankfile-hangs-on-ios-when-setting-dspbuffersize-to-128-4-or-lower/11642)

<div class="topic-metadata">

**Author:** [@auday](https://qa.fmod.com/u/auday)\
**Replies:** 1\
**Last updated:** [September 17, 2014, 3:20am UTC](https://qa.fmod.com/t/loadbankfile-hangs-on-ios-when-setting-dspbuffersize-to-128-4-or-lower/11642 "2014-09-17T03:20:27Z")

</div>

Hi, On my iOS project, everything works fine normally … but if I do: system-\>setDSPBufferSize( 128, 4 ); I get the next call to loadBankFile hanging forever, and continuous to spit out this message forever: \[ERR\] Ou…

---

## [Studio::System::setAdvancedSettings() / getAdvancedSettings() not working in 1.5](https://qa.fmod.com/t/studio-setadvancedsettings-getadvancedsettings-not-working-in-1-5/11634)

<div class="topic-metadata">

**Author:** [@martinrobinson1](https://qa.fmod.com/u/martinrobinson1)\
**Replies:** 5\
**Last updated:** [September 12, 2014, 5:09am UTC](https://qa.fmod.com/t/studio-setadvancedsettings-getadvancedsettings-not-working-in-1-5/11634 "2014-09-12T05:09:01Z")

</div>

This was working in 1.4 but in API 1.5 Studio::System::setAdvancedSettings() is now returning an error 31 (invalid parameter) and Studio::System::getAdvancedSettings() is returning an zero’d structure (not sure if that’…

---

## [Need quick tutorial - iOS](https://qa.fmod.com/t/need-quick-tutorial-ios/11635)

<div class="topic-metadata">

**Author:** [@kfs](https://qa.fmod.com/u/kfs)\
**Replies:** 1\
**Last updated:** [September 11, 2014, 10:24pm UTC](https://qa.fmod.com/t/need-quick-tutorial-ios/11635 "2014-09-11T22:24:00Z")

</div>

I am migrating an iPhone app from ObjectAL to FMOD (so I can move from 2D to 3D sound), and can’t seem to find a good place to start. I don’t need much - just how to play a sound (in general), and how to position an obj…

---

## [FMOD I dont hear sound](https://qa.fmod.com/t/fmod-i-dont-hear-sound/11631)

<div class="topic-metadata">

**Author:** [@elseine](https://qa.fmod.com/u/elseine)\
**Replies:** 2\
**Last updated:** [September 10, 2014, 10:34pm UTC](https://qa.fmod.com/t/fmod-i-dont-hear-sound/11631 "2014-09-10T22:34:53Z")

</div>

I am using FMOD on Ubuntu and i think that now the sound must be heared, but I dont hear sound. SoundEngine.h #ifndef SOUNDENGINE\_H\_ #define SOUNDENGINE\_H\_ #include "FMOD/inc/fmod.hpp" //fmod c++ header //#include "FM…

---

## [Problem getting Spectrum in newer fmod versions](https://qa.fmod.com/t/problem-getting-spectrum-in-newer-fmod-versions/11624)

<div class="topic-metadata">

**Author:** [@Webby2k](https://qa.fmod.com/u/Webby2k)\
**Replies:** 2\
**Last updated:** [September 3, 2014, 6:44am UTC](https://qa.fmod.com/t/problem-getting-spectrum-in-newer-fmod-versions/11624 "2014-09-03T06:44:51Z")

</div>

Hi guys, I’ve been working on a project using fmod in it for more than a year. Unfortnately I had to format my computer and downloaded the latest version of fmod studio that has quite a few changes in using its syntax. …

---

## [MixerStrip setMute not working](https://qa.fmod.com/t/mixerstrip-setmute-not-working/11580)

<div class="topic-metadata">

**Author:** [@buzzrick](https://qa.fmod.com/u/buzzrick)\
**Replies:** 8\
**Last updated:** [September 1, 2014, 10:26pm UTC](https://qa.fmod.com/t/mixerstrip-setmute-not-working/11580 "2014-09-01T22:26:14Z")

</div>

Hi. I’m implementing MixerStrips to allow me to control different audio groups (eg: music/gameplay/ambient) and for the most part it’s working, but I’m having a few minor issues. Item #1 below is my main issue. Any …

---

## [Android NDK createSound error](https://qa.fmod.com/t/android-ndk-createsound-error/11600)

<div class="topic-metadata">

**Author:** [@HardlineStudios](https://qa.fmod.com/u/HardlineStudios)\
**Replies:** 1\
**Last updated:** [August 10, 2014, 9:57am UTC](https://qa.fmod.com/t/android-ndk-createsound-error/11600 "2014-08-10T09:57:17Z")

</div>

My game runs on Android using the native app glue so it’s pure C++. I have a very simple java activity that loads fmod: import android.app.NativeActivity; public class MainActivity extends NativeActivity { static { …

---

## [Custom rolloff callback is only called for the most recent playback of a sound object](https://qa.fmod.com/t/custom-rolloff-callback-is-only-called-for-the-most-recent-playback-of-a-sound-object/11595)

<div class="topic-metadata">

**Author:** [@jonwil](https://qa.fmod.com/u/jonwil)\
**Replies:** 4\
**Last updated:** [August 7, 2014, 12:31am UTC](https://qa.fmod.com/t/custom-rolloff-callback-is-only-called-for-the-most-recent-playback-of-a-sound-object/11595 "2014-08-07T00:31:11Z")

</div>

We are installing a custom rolloff callback with FMOD\_System\_Set3DRolloffCallback We are seeing that if we call FMOD\_System\_PlaySound more than once for the same FMOD\_SOUND object (i.e. to play multiple instances of the…

---

## [FMOD play\_stream example](https://qa.fmod.com/t/fmod-play-stream-example/11596)

<div class="topic-metadata">

**Author:** [@eragon](https://qa.fmod.com/u/eragon)\
**Replies:** 2\
**Last updated:** [August 6, 2014, 3:12pm UTC](https://qa.fmod.com/t/fmod-play-stream-example/11596 "2014-08-06T15:12:29Z")

</div>

I want to play an mp3 file so I searched and came to know about FMOD. I downloaded it http://52.88.2.202/download/ (the FMOD Studio Programmer’s API for linux). Also I was getting errors about fmod.hpp not found so I co…

---

## [Strange issue with custom rolloff callback](https://qa.fmod.com/t/strange-issue-with-custom-rolloff-callback/11593)

<div class="topic-metadata">

**Author:** [@jonwil](https://qa.fmod.com/u/jonwil)\
**Replies:** 1\
**Last updated:** [August 6, 2014, 2:06am UTC](https://qa.fmod.com/t/strange-issue-with-custom-rolloff-callback/11593 "2014-08-06T02:06:50Z")

</div>

We are installing a custom rolloff callback with FMOD\_System\_Set3DRolloffCallback When we play a sound we call FMOD\_System\_PlaySound then FMOD\_Channel\_Set3DAttributes to set the position on the sound followed by FMOD\_Ch…

---

## [Logarithmic falloff formula](https://qa.fmod.com/t/logarithmic-falloff-formula/11590)

<div class="topic-metadata">

**Author:** [@jonwil](https://qa.fmod.com/u/jonwil)\
**Replies:** 1\
**Last updated:** [August 3, 2014, 11:32am UTC](https://qa.fmod.com/t/logarithmic-falloff-formula/11590 "2014-08-03T11:32:29Z")

</div>

Is there any documentation of the math used for calculating logarithmic falloff in FMOD (i.e. given distance, min distance and max distance, this is how it will arrive at the actual volume number)? I found this one for …

---

## [Sound disappears after a certain number of play sound commands](https://qa.fmod.com/t/sound-disappears-after-a-certain-number-of-play-sound-commands/11565)

<div class="topic-metadata">

**Author:** [@Keitel](https://qa.fmod.com/u/Keitel)\
**Replies:** 4\
**Last updated:** [July 30, 2014, 8:13am UTC](https://qa.fmod.com/t/sound-disappears-after-a-certain-number-of-play-sound-commands/11565 "2014-07-30T08:13:52Z")

</div>

Hi, I have a program where I play the same sound over and over again in different frequencies. After I have used the play sound command 64 times there is no sound anymore. In Fmod ex I resolved this by using FMOD\_CHANNE…

---

## [FMOD Studio API works in iOS simulator, but not on device](https://qa.fmod.com/t/fmod-studio-api-works-in-ios-simulator-but-not-on-device/11581)

<div class="topic-metadata">

**Author:** [@buzzrick](https://qa.fmod.com/u/buzzrick)\
**Replies:** 1\
**Last updated:** [July 29, 2014, 12:24am UTC](https://qa.fmod.com/t/fmod-studio-api-works-in-ios-simulator-but-not-on-device/11581 "2014-07-29T00:24:25Z")

</div>

(UPDATED) I’m trying to get FMOD studio working in an iOS application (using C++ in Xcode) and everything works perfectly in the iOS Simulator, but whenever I try to run the app on a physical device everything loads oka…

---

## [Duplicated symbols in FMOD Studio Programmer’s API for iOS](https://qa.fmod.com/t/duplicated-symbols-in-fmod-studio-programmer-s-api-for-ios/11562)

<div class="topic-metadata">

**Author:** [@Rafal](https://qa.fmod.com/u/Rafal)\
**Replies:** 3\
**Last updated:** [July 25, 2014, 2:54pm UTC](https://qa.fmod.com/t/duplicated-symbols-in-fmod-studio-programmer-s-api-for-ios/11562 "2014-07-25T14:54:12Z")

</div>

I’m integrating FMOD Studio in my game and build fails in Xcode at linking stage with report of duplicate symbol \_FMOD\_Optimised\_Routines\_NoOpt. It looks that some object files are duplicated in libraries, i.e. for armv…

---

## [Record for Unknown Amount of Time](https://qa.fmod.com/t/record-for-unknown-amount-of-time/11571)

<div class="topic-metadata">

**Author:** [@paulbird](https://qa.fmod.com/u/paulbird)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 6:52am UTC](https://qa.fmod.com/t/record-for-unknown-amount-of-time/11571 "2014-07-24T06:52:23Z")

</div>

I initiate my sound-info variable by doing: FMOD\_CREATESOUNDEXINFO soundInfo; and I want to know how to set the length field of soundinfo to an undefined setting so that I can record for an unknown amount of time (and …

---

## [\[iOS\] Certain WAV files triggering channel end callback prematurely.](https://qa.fmod.com/t/ios-certain-wav-files-triggering-channel-end-callback-prematurely/11556)

<div class="topic-metadata">

**Author:** [@davef](https://qa.fmod.com/u/davef)\
**Replies:** 1\
**Last updated:** [July 14, 2014, 1:04am UTC](https://qa.fmod.com/t/ios-certain-wav-files-triggering-channel-end-callback-prematurely/11556 "2014-07-14T01:04:21Z")

</div>

This sound created with Adobe Audition CC - https://dl.dropboxusercontent.com/u/3571256/test-sound.wav will trigger FMOD\_CHANNELCONTROL\_CALLBACK\_END twice. Once immediately on playback and then a second time when the sou…

---

## [\[iOS\] Mixer update limited to 1024 blocks ?](https://qa.fmod.com/t/ios-mixer-update-limited-to-1024-blocks/11552)

<div class="topic-metadata">

**Author:** [@davef](https://qa.fmod.com/u/davef)\
**Replies:** 4\
**Last updated:** [July 13, 2014, 7:36am UTC](https://qa.fmod.com/t/ios-mixer-update-limited-to-1024-blocks/11552 "2014-07-13T07:36:20Z")

</div>

In FMOD 4 setting setDSPBufferSize would dictate how often the DSP clock would update and would mean I could play sounds with the accuracy of what that buffer size was set to. In FMOD 5 I’m seeing that even though I’m s…

[Previous page](https://qa.fmod.com/c/fmodapi/6.md?page=52)
