# FMOD Engine

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

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

**Page:** 23

---

## [FSBank init problem](https://qa.fmod.com/t/fsbank-init-problem/18817)

<div class="topic-metadata">

**Author:** [@CreatorsStudio](https://qa.fmod.com/u/CreatorsStudio)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 1:37am UTC](https://qa.fmod.com/t/fsbank-init-problem/18817 "2022-06-02T01:37:44Z")

</div>

I thought that my problem was with the fsbank api that i dont know how to use it to generate fsb5 files but when i tried to remove the fsbank init function then all the code beneath it worked For some reason my fsbank …

---

## [Creating fsb with FSBank API Problem](https://qa.fmod.com/t/creating-fsb-with-fsbank-api-problem/18808)

<div class="topic-metadata">

**Author:** [@CreatorsStudio](https://qa.fmod.com/u/CreatorsStudio)\
**Replies:** 1\
**Last updated:** [June 1, 2022, 10:57pm UTC](https://qa.fmod.com/t/creating-fsb-with-fsbank-api-problem/18808 "2022-06-01T22:57:08Z")

</div>

I am using this code to convert a wav to fsb5 #include \<stdio.h\> #include \<iostream\> #include \<FSB/fsbank.h\> using namespace std; extern "C" \_declspec(dllexport) void Create(); void main() { const char\* cache = "G:/…

---

## [FSBank Conversion of wav to fsb5 problem](https://qa.fmod.com/t/fsbank-conversion-of-wav-to-fsb5-problem/18803)

<div class="topic-metadata">

**Author:** [@CreatorsStudio](https://qa.fmod.com/u/CreatorsStudio)\
**Replies:** 6\
**Last updated:** [June 1, 2022, 8:42am UTC](https://qa.fmod.com/t/fsbank-conversion-of-wav-to-fsb5-problem/18803 "2022-06-01T08:42:09Z")

</div>

I dont know how the FSBank API works i have everything integrated already i just want to know how i can convert a wav to fsb5

---

## [Android Crash (pthread\_mutex\_lock)](https://qa.fmod.com/t/android-crash-pthread-mutex-lock/18801)

<div class="topic-metadata">

**Author:** [@vectorunit](https://qa.fmod.com/u/vectorunit)\
**Replies:** 1\
**Last updated:** [May 26, 2022, 12:47am UTC](https://qa.fmod.com/t/android-crash-pthread-mutex-lock/18801 "2022-05-26T00:47:14Z")

</div>

Hi, our most prominent crash in one of our apps currently being auto-reported by the Google Play dashboard has the call-stack that I pasted below. I know it’s not much to go on, but this is only showing up in the wild (a…

---

## [The cost of the bank Encryption](https://qa.fmod.com/t/the-cost-of-the-bank-encryption/18776)

<div class="topic-metadata">

**Author:** [@RiddleC](https://qa.fmod.com/u/RiddleC)\
**Replies:** 5\
**Last updated:** [May 25, 2022, 1:40am UTC](https://qa.fmod.com/t/the-cost-of-the-bank-encryption/18776 "2022-05-25T01:40:46Z")

</div>

Hi Forums, We try to use bank encryption to improve the security of bank. we added a key when we built the bank files and used the key to load bank file. It worked well. We want to know what kind of encryption algorithm…

---

## [FMOD Studio crashes on Linux systems without PulseAudio](https://qa.fmod.com/t/fmod-studio-crashes-on-linux-systems-without-pulseaudio/18484)

<div class="topic-metadata">

**Author:** [@sldev](https://qa.fmod.com/u/sldev)\
**Replies:** 2\
**Last updated:** [May 20, 2022, 2:01pm UTC](https://qa.fmod.com/t/fmod-studio-crashes-on-linux-systems-without-pulseaudio/18484 "2022-05-20T14:01:20Z")

</div>

Greetings, I just notice a bug that did not occur in the past (but I cannot tell you in which FMOD Studio version it got introduced)… When attempting a setOutput(FMOD\_OUTPUTTYPE\_PULSEAUDIO) on a Linux system without Pu…

---

## [Directional sound does not follow listener if looking up or down](https://qa.fmod.com/t/directional-sound-does-not-follow-listener-if-looking-up-or-down/18781)

<div class="topic-metadata">

**Author:** [@Altarya](https://qa.fmod.com/u/Altarya)\
**Replies:** 8\
**Last updated:** [May 20, 2022, 9:25am UTC](https://qa.fmod.com/t/directional-sound-does-not-follow-listener-if-looking-up-or-down/18781 "2022-05-20T09:25:34Z")

</div>

Hi i am writing a university project in C and have begun to add directional sound into it, but i cant seem to be able to get it to work when looking at certain angles(up and down), sounds just stop respecting the listene…

---

## [How can I use Fmod's upstream static library in my H5 game](https://qa.fmod.com/t/how-can-i-use-fmods-upstream-static-library-in-my-h5-game/18758)

<div class="topic-metadata">

**Author:** [@lxy1114](https://qa.fmod.com/u/lxy1114)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 7:02am UTC](https://qa.fmod.com/t/how-can-i-use-fmods-upstream-static-library-in-my-h5-game/18758 "2022-05-20T07:02:27Z")

</div>

I use urho3d to make my H5 game and write it directly in C + +. I used phaser3 before. It is a JS game framework. I will load the wasm library provided by Fmod through JS and work well. Now I write my H5 game in C + +,…

---

## [Using resonance audio FMOD plugin without using FMOD Studio](https://qa.fmod.com/t/using-resonance-audio-fmod-plugin-without-using-fmod-studio/18724)

<div class="topic-metadata">

**Author:** [@MattDalbyAdobe](https://qa.fmod.com/u/MattDalbyAdobe)\
**Replies:** 6\
**Last updated:** [May 16, 2022, 11:19pm UTC](https://qa.fmod.com/t/using-resonance-audio-fmod-plugin-without-using-fmod-studio/18724 "2022-05-16T23:19:53Z")

</div>

Hi there, we’re trying to use the resonance audio plugin for fmod via the fmod core api’s I’m manually creating and attaching the Resonance Audio Listener DSP to an appropriate channel group. And manually attaching a R…

---

## [FMOD::Sound::getLength returns FMOD\_ERR\_NOTREADY on very short programmer sound](https://qa.fmod.com/t/fmod-getlength-returns-fmod-err-notready-on-very-short-programmer-sound/18716)

<div class="topic-metadata">

**Author:** [@kylotonn](https://qa.fmod.com/u/kylotonn)\
**Replies:** 3\
**Last updated:** [May 16, 2022, 5:40am UTC](https://qa.fmod.com/t/fmod-getlength-returns-fmod-err-notready-on-very-short-programmer-sound/18716 "2022-05-16T05:40:57Z")

</div>

We are using the FMOD\_STUDIO\_EVENT\_CALLBACK\_SOUND\_PLAYED when playing programmer sound ( audiotable) to retrieve subsound length. case FMOD\_STUDIO\_EVENT\_CALLBACK\_SOUND\_PLAYED: { FMOD::Sound\* pSound = (FMOD::Sound\*)pA…

---

## [Scoped storage with MediaStore](https://qa.fmod.com/t/scoped-storage-with-mediastore/17332)

<div class="topic-metadata">

**Author:** [@sachinsshah](https://qa.fmod.com/u/sachinsshah)\
**Replies:** 16\
**Last updated:** [May 12, 2022, 9:24am UTC](https://qa.fmod.com/t/scoped-storage-with-mediastore/17332 "2022-05-12T09:24:38Z")

</div>

Hi team at FMOD, I am wanting to program an Android music player app so am currently exploring some Audio Engines. When making an Android app, it’s now recommended to use the Scoped Storage framework. So to work with U…

---

## [\[Bug\] In FMOD\_OUTPUTTYPE\_NOSOUND mode, the DSP callback frequency is wrong](https://qa.fmod.com/t/bug-in-fmod-outputtype-nosound-mode-the-dsp-callback-frequency-is-wrong/18187)

<div class="topic-metadata">

**Author:** [@1737723363](https://qa.fmod.com/u/1737723363)\
**Replies:** 7\
**Last updated:** [May 11, 2022, 4:49am UTC](https://qa.fmod.com/t/bug-in-fmod-outputtype-nosound-mode-the-dsp-callback-frequency-is-wrong/18187 "2022-05-11T04:49:20Z")

</div>

FMOD2.02.05 version is used in UE4.27. First, I call the following code and set it to silent mode: System-\>setOutput(FMOD\_OUTPUTTYPE\_NOSOUND); Then, I use the setSoftwareFormat method to explicitly specify the samplin…

---

## [Doc bug: FMOD\_FILE\_ASYNCDONE\_FUNC shows the wrong signature](https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735)

<div class="topic-metadata">

**Author:** [@cad97](https://qa.fmod.com/u/cad97)\
**Replies:** 1\
**Last updated:** [May 10, 2022, 6:19am UTC](https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735 "2022-05-10T06:19:15Z")

</div>

\[online docs\] The docs list the C signature as FMOD\_RESULT F\_CALLBACK FMOD\_FILE\_ASYNCDONE\_FUNC( FMOD\_ASYNCREADINFO \*info, FMOD\_RESULT result ); but in actuality the callback returns void. The typedef in the header…

---

## [Mingw undefined reference to \`FMOD\_System\_CreateDSPByType'](https://qa.fmod.com/t/mingw-undefined-reference-to-fmod-system-createdspbytype/18711)

<div class="topic-metadata">

**Author:** [@imuh3](https://qa.fmod.com/u/imuh3)\
**Replies:** 4\
**Last updated:** [May 7, 2022, 8:16pm UTC](https://qa.fmod.com/t/mingw-undefined-reference-to-fmod-system-createdspbytype/18711 "2022-05-07T20:16:52Z")

</div>

Hi folks, I’m using mingw to link a custom library that uses FMOD and FMOD Studio. I’m using the c api since I don’t want to switch to vsc at this moment. My build process involves linking my object files with the fmod…

---

## [Strange noise on android](https://qa.fmod.com/t/strange-noise-on-android/18638)

<div class="topic-metadata">

**Author:** [@longjun](https://qa.fmod.com/u/longjun)\
**Replies:** 8\
**Last updated:** [May 7, 2022, 11:48am UTC](https://qa.fmod.com/t/strange-noise-on-android/18638 "2022-05-07T11:48:08Z")

</div>

There were a few instances where our game made strange noises after running for a while. It happened on both real android device and simulator. We cannot reproduce it now, and do not know where to start investigate. Fol…

---

## [Crash Quest pointers](https://qa.fmod.com/t/crash-quest-pointers/18652)

<div class="topic-metadata">

**Author:** [@PepitoGrillo24](https://qa.fmod.com/u/PepitoGrillo24)\
**Replies:** 3\
**Last updated:** [May 6, 2022, 7:15pm UTC](https://qa.fmod.com/t/crash-quest-pointers/18652 "2022-05-06T19:15:44Z")

</div>

Hi everyone, Upgrading from 2.0.10 to 2.01.11 on our Unity 2021.2.14 project we encountered this problem: our game crashes when we use programmer instruments and callbacks but only on Quest (Android). On PC works fine. …

---

## [Fmod not playing an mpeg stream](https://qa.fmod.com/t/fmod-not-playing-an-mpeg-stream/18699)

<div class="topic-metadata">

**Author:** [@akleshchev](https://qa.fmod.com/u/akleshchev)\
**Replies:** 2\
**Last updated:** [April 29, 2022, 10:20am UTC](https://qa.fmod.com/t/fmod-not-playing-an-mpeg-stream/18699 "2022-04-29T10:20:10Z")

</div>

Issue: https://streams.1radio.ca/just is not being played, fmod complains about unsupported format, but according to VLC this is an MPEG Audio Layer 1/2. Tested on: Fmod engine 2.02.06, 2.02.03 and 2.01.07, reproduces…

---

## [Confusion about Occlusion](https://qa.fmod.com/t/confusion-about-occlusion/18628)

<div class="topic-metadata">

**Author:** [@TColesy](https://qa.fmod.com/u/TColesy)\
**Replies:** 9\
**Last updated:** [April 27, 2022, 10:50pm UTC](https://qa.fmod.com/t/confusion-about-occlusion/18628 "2022-04-27T22:50:14Z")

</div>

Hi, i am trying to get occlusion working using the fmod core api and im finding it a bit confusing. The image above is what ive tried, based off the little documentation I could find on it. I am trying to add the occlu…

---

## [Playing bank events on individual speakers](https://qa.fmod.com/t/playing-bank-events-on-individual-speakers/18543)

<div class="topic-metadata">

**Author:** [@Heretiiik](https://qa.fmod.com/u/Heretiiik)\
**Replies:** 8\
**Last updated:** [April 19, 2022, 3:53am UTC](https://qa.fmod.com/t/playing-bank-events-on-individual-speakers/18543 "2022-04-19T03:53:13Z")

</div>

Hello, my goal is to have different events play through selected speaker (all speakers on the same sound card). So far I only got to setup FMOD System, hopefully set up channels and mix but I’m struggling to get any fu…

---

## [Error with Mac arm64](https://qa.fmod.com/t/error-with-mac-arm64/18637)

<div class="topic-metadata">

**Author:** [@superneiluj](https://qa.fmod.com/u/superneiluj)\
**Replies:** 3\
**Last updated:** [April 14, 2022, 1:53am UTC](https://qa.fmod.com/t/error-with-mac-arm64/18637 "2022-04-14T01:53:39Z")

</div>

Hello, for a school project I need to use fmod (mp3 music player) I tried to type a few lines of code, but I have an error. “Undefined symbols for architecture arm64: “\_FMOD\_System\_Create”, referenced from: \_main in …

---

## [Create Sound with SoundCloud URL using Oauth2 Authentication](https://qa.fmod.com/t/create-sound-with-soundcloud-url-using-oauth2-authentication/18610)

<div class="topic-metadata">

**Author:** [@neosettler1](https://qa.fmod.com/u/neosettler1)\
**Replies:** 3\
**Last updated:** [April 10, 2022, 11:35pm UTC](https://qa.fmod.com/t/create-sound-with-soundcloud-url-using-oauth2-authentication/18610 "2022-04-10T23:35:17Z")

</div>

Greetings, Working on a desktop app with Windows 10 using CPP. Feeding a SoundCloud URL to Fmod::CreateSound no longer works with SoundCloud new Oauth2 Authentication mechanism. What Use to work: Calling SoundCloud AP…

---

## [Set priority for internal file codecs?](https://qa.fmod.com/t/set-priority-for-internal-file-codecs/18597)

<div class="topic-metadata">

**Author:** [@bLAZER](https://qa.fmod.com/u/bLAZER)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 6:54pm UTC](https://qa.fmod.com/t/set-priority-for-internal-file-codecs/18597 "2022-04-05T18:54:37Z")

</div>

Is it possible set priority for FMOD internal codecs (or disable them)? If I have my own codec and I want that to try a file first of every codec (before internal mp3/ogg etc.) Does setting 0 as priority when loading th…

---

## [Prevent audio switching to PS4 controller when plugged in](https://qa.fmod.com/t/prevent-audio-switching-to-ps4-controller-when-plugged-in/18599)

<div class="topic-metadata">

**Author:** [@rustymoyher](https://qa.fmod.com/u/rustymoyher)\
**Replies:** 3\
**Last updated:** [April 4, 2022, 2:32am UTC](https://qa.fmod.com/t/prevent-audio-switching-to-ps4-controller-when-plugged-in/18599 "2022-04-04T02:32:11Z")

</div>

When we plug in a PS4 or PS5 controller, the audio for our game switches to the speaker on the controller. Normally using the default audio device seems like a good idea, like if we plug in or remove headphones. However …

---

## [Transferring audio events between multiple systems](https://qa.fmod.com/t/transferring-audio-events-between-multiple-systems/18569)

<div class="topic-metadata">

**Author:** [@Niruva](https://qa.fmod.com/u/Niruva)\
**Replies:** 1\
**Last updated:** [March 31, 2022, 12:31am UTC](https://qa.fmod.com/t/transferring-audio-events-between-multiple-systems/18569 "2022-03-31T00:31:42Z")

</div>

Hello! I implement Dualsense gamepad support for Windows with an additional FMOD::System object that works with the gamepad driver. There was a need to transfer sound events from the main system to the additional one. …

---

## [Seamless loop with user given sounds (crossfade same sound)](https://qa.fmod.com/t/seamless-loop-with-user-given-sounds-crossfade-same-sound/18525)

<div class="topic-metadata">

**Author:** [@dominiknkrs](https://qa.fmod.com/u/dominiknkrs)\
**Replies:** 6\
**Last updated:** [March 24, 2022, 8:28am UTC](https://qa.fmod.com/t/seamless-loop-with-user-given-sounds-crossfade-same-sound/18525 "2022-03-24T08:28:55Z")

</div>

Hi, i’m creating an android ambient sound wrapper engine using fmod. All is working good so far but i can’t seem to figure out a good and efficient way to achieve seamless looping with user-given content. I’ll explain: …

---

## [Saving and Loading “Full” Audio State](https://qa.fmod.com/t/saving-and-loading-full-audio-state/18547)

<div class="topic-metadata">

**Author:** [@kkukshtel](https://qa.fmod.com/u/kkukshtel)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 5:26am UTC](https://qa.fmod.com/t/saving-and-loading-full-audio-state/18547 "2022-03-23T05:26:33Z")

</div>

Hello all! I’m working on a game where there is a lot of dynamic audio switching on/off, instance creation, and parameter setting in a single “level”. I’m trying to figure out the best way to save and load the “state” of…

---

## [Seek Speed Broken](https://qa.fmod.com/t/seek-speed-broken/15536)

<div class="topic-metadata">

**Author:** [@gabriel.gardner](https://qa.fmod.com/u/gabriel.gardner)\
**Replies:** 4\
**Last updated:** [March 23, 2022, 1:09am UTC](https://qa.fmod.com/t/seek-speed-broken/15536 "2022-03-23T01:09:09Z")

</div>

Hi everyone, The seek speed on a local parameter attached to a specific event is not working when setting the parameter value through coding (C# in Unity). We have added pitch modulation following the parameter in FMOD …

---

## [2.02.06 on Linux?](https://qa.fmod.com/t/2-02-06-on-linux/18559)

<div class="topic-metadata">

**Author:** [@doomedbunnies](https://qa.fmod.com/u/doomedbunnies)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 11:14pm UTC](https://qa.fmod.com/t/2-02-06-on-linux/18559 "2022-03-22T23:14:27Z")

</div>

I notice that 2.02.06 has been released, but at the moment there are only downloads provided for Windows 64/32 and Mac. Can you give us an update on what’s going on with the usual Linux builds? We usually try to keep o…

---

## [FMOD ChannelHandle returns null in Release, but not Debug](https://qa.fmod.com/t/fmod-channelhandle-returns-null-in-release-but-not-debug/18450)

<div class="topic-metadata">

**Author:** [@farewind](https://qa.fmod.com/u/farewind)\
**Replies:** 7\
**Last updated:** [March 17, 2022, 10:56pm UTC](https://qa.fmod.com/t/fmod-channelhandle-returns-null-in-release-but-not-debug/18450 "2022-03-17T22:56:53Z")

</div>

Debug: Release: Greetings. I’ve been making use of my own AudioEngine in c++, visualstudio for a group game project, and have ran into a strange issue regarding PlaySound. As the images above show, creating …

---

## [Setting to avoid an FMOD event to be stopped by code](https://qa.fmod.com/t/setting-to-avoid-an-fmod-event-to-be-stopped-by-code/18527)

<div class="topic-metadata">

**Author:** [@jblaswu](https://qa.fmod.com/u/jblaswu)\
**Replies:** 4\
**Last updated:** [March 17, 2022, 2:25pm UTC](https://qa.fmod.com/t/setting-to-avoid-an-fmod-event-to-be-stopped-by-code/18527 "2022-03-17T14:25:22Z")

</div>

We are starting to use Command instrument to change levels on the music bus, however we soon found out that if we stop the event that has that instruction if we depended on the 2nd one (near the end) it won’t be called (…

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

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