# FMOD Engine

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

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

**Page:** 32

---

## [Configure CMakeLists.txt to use FMOD](https://qa.fmod.com/t/configure-cmakelists-txt-to-use-fmod/16316)

<div class="topic-metadata">

**Author:** [@LuisPeMoraRod](https://qa.fmod.com/u/LuisPeMoraRod)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 1:24am UTC](https://qa.fmod.com/t/configure-cmakelists-txt-to-use-fmod/16316 "2020-10-19T01:24:29Z")

</div>

Hi, I’m a newbie in C++ development and I need to to create a .mp3 player application. I want to integrate FMOD api to my project but I have no idea of how to set CMakeLists.txt I’m using CLion in a Linux distro. I’ll b…

---

## [Release MIDI notes when seeking/stopping a sequence?](https://qa.fmod.com/t/release-midi-notes-when-seeking-stopping-a-sequence/16256)

<div class="topic-metadata">

**Author:** [@bribri25](https://qa.fmod.com/u/bribri25)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 1:19am UTC](https://qa.fmod.com/t/release-midi-notes-when-seeking-stopping-a-sequence/16256 "2020-10-16T01:19:15Z")

</div>

Hi there, When I stop or change the position of a MIDI sequence in the FMOD Core API, the song abruptly cuts out like it were playing a WAV or MP3. Is there a way to have FMOD release the current notes that are being p…

---

## [Pop noise when starting](https://qa.fmod.com/t/pop-noise-when-starting/16286)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 5\
**Last updated:** [October 14, 2020, 8:15pm UTC](https://qa.fmod.com/t/pop-noise-when-starting/16286 "2020-10-14T20:15:50Z")

</div>

I’m currently working on an Android project with FMOD. When it plays an mp3 file for the first time, there’s no problem. But after that, I can hear a pop noise when I start playing ANY FILE again. I tried : -AAudio …

---

## [Seg fault crash in Sound::GetFormat](https://qa.fmod.com/t/seg-fault-crash-in-sound-getformat/16289)

<div class="topic-metadata">

**Author:** [@MarcSpecter](https://qa.fmod.com/u/MarcSpecter)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 12:00am UTC](https://qa.fmod.com/t/seg-fault-crash-in-sound-getformat/16289 "2020-10-14T00:00:09Z")

</div>

Hi FMOD, Got this crash - was hoping you could give figure something useful from the offset. This occured while reading a wav file (or a file that looked like one). Is a Segmentation Fault 11 thing. Thanks 0 lib…

---

## [AddSyncPoint() alternative for HTML5](https://qa.fmod.com/t/addsyncpoint-alternative-for-html5/16210)

<div class="topic-metadata">

**Author:** [@orangetek](https://qa.fmod.com/u/orangetek)\
**Replies:** 5\
**Last updated:** [October 9, 2020, 7:34am UTC](https://qa.fmod.com/t/addsyncpoint-alternative-for-html5/16210 "2020-10-09T07:34:17Z")

</div>

Hi all, This my first post and i am pretty new to FMOD. I have begun a web based music making tool/sequencer. I am going to need a way to trigger certain thing with sample accurate timing. I noticed in the docs that the…

---

## [Multiple fileopen bank callbacks](https://qa.fmod.com/t/multiple-fileopen-bank-callbacks/16216)

<div class="topic-metadata">

**Author:** [@ranette](https://qa.fmod.com/u/ranette)\
**Replies:** 5\
**Last updated:** [October 7, 2020, 8:59pm UTC](https://qa.fmod.com/t/multiple-fileopen-bank-callbacks/16216 "2020-10-07T20:59:23Z")

</div>

Hi everyone! I’ve faced a problem causing memory overhead. I’ve added my own file system callbacks and was able to see one bank to be opened more often than another (Some fileopen operations didn’t have appropriate file…

---

## [Async sound loading? Instantly?](https://qa.fmod.com/t/async-sound-loading-instantly/16231)

<div class="topic-metadata">

**Author:** [@RusJJ](https://qa.fmod.com/u/RusJJ)\
**Replies:** 2\
**Last updated:** [October 6, 2020, 11:39pm UTC](https://qa.fmod.com/t/async-sound-loading-instantly/16231 "2020-10-06T23:39:12Z")

</div>

I dont really know where to contact with you, so… Hi there! Adding FMOD to my “game” (Source Engine mod). Trying to apply FMOD engine to shooting sounds. As i understood, FMOD’s createStream has a queue of file loading…

---

## [Programmer Instrument Callback Delay](https://qa.fmod.com/t/programmer-instrument-callback-delay/16229)

<div class="topic-metadata">

**Author:** [@yuqyu](https://qa.fmod.com/u/yuqyu)\
**Replies:** 1\
**Last updated:** [October 5, 2020, 4:14am UTC](https://qa.fmod.com/t/programmer-instrument-callback-delay/16229 "2020-10-05T04:14:28Z")

</div>

Hi, I want to use CREATE\_PROGRAMMER\_SOUND and DESTROY\_PROGRAMMER\_SOUND to make sure the begin and end time of the Programmer instrument, But the callback have a delay, so i cant exactly ensure its time. I don’t know, wh…

---

## [Pan for 2d game](https://qa.fmod.com/t/pan-for-2d-game/16219)

<div class="topic-metadata">

**Author:** [@rsa](https://qa.fmod.com/u/rsa)\
**Replies:** 4\
**Last updated:** [September 28, 2020, 12:34pm UTC](https://qa.fmod.com/t/pan-for-2d-game/16219 "2020-09-28T12:34:09Z")

</div>

In a 2D game I don’t need the distance attenuation / panning of 3D sound; I just want to set the left/right pan of the sfx’s. At the moment I am using a constant 3D\_Attributes for the listener and all the sources of the …

---

## [Can I get a instrument volume on the track](https://qa.fmod.com/t/can-i-get-a-instrument-volume-on-the-track/16227)

<div class="topic-metadata">

**Author:** [@yuqyu](https://qa.fmod.com/u/yuqyu)\
**Replies:** 1\
**Last updated:** [September 27, 2020, 11:55pm UTC](https://qa.fmod.com/t/can-i-get-a-instrument-volume-on-the-track/16227 "2020-09-27T23:55:39Z")

</div>

Hi, I want to get a instrument volume value on the track of a event. to trigger a behaviour on unity. I can get the start and stop time of a programmer instrument. but i want have more information. Thanks in advance.

---

## [FMOD\_SOUND\_FORMAT endianness for multi-byte samples?](https://qa.fmod.com/t/fmod-sound-format-endianness-for-multi-byte-samples/16226)

<div class="topic-metadata">

**Author:** [@cirrus82](https://qa.fmod.com/u/cirrus82)\
**Replies:** 2\
**Last updated:** [September 27, 2020, 11:53pm UTC](https://qa.fmod.com/t/fmod-sound-format-endianness-for-multi-byte-samples/16226 "2020-09-27T23:53:14Z")

</div>

The documentation doesn’t seem to specify if the multi-byte samples (16, 24, 32) are big or little-endian. Does this depend on the underlying raw data format (like aiff will be big endian and wav will be little) or does…

---

## [Sounds hearable from the top](https://qa.fmod.com/t/sounds-hearable-from-the-top/16194)

<div class="topic-metadata">

**Author:** [@Dominator4](https://qa.fmod.com/u/Dominator4)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 12:53am UTC](https://qa.fmod.com/t/sounds-hearable-from-the-top/16194 "2020-09-25T00:53:13Z")

</div>

Hello, I have a problem, I made a 3D sound in my game but I dont know how to make sounds under character sounds another than that over the character. I was making 3D sound based on Fmod API/ low level guide. I can proc…

---

## [Sound memory management](https://qa.fmod.com/t/sound-memory-management/16034)

<div class="topic-metadata">

**Author:** [@Rafaelb149](https://qa.fmod.com/u/Rafaelb149)\
**Replies:** 16\
**Last updated:** [September 24, 2020, 12:34am UTC](https://qa.fmod.com/t/sound-memory-management/16034 "2020-09-24T00:34:59Z")

</div>

Hi I’m a fmod newbie :slight\_smile: I’m looking for replacing my sound mobile engine, so I start looking on your engine. In my engine, I’ve implemented a caching system (kind of LRU) for keeping the most “popular” sou…

---

## [Dsp\_custom.cpp on C#](https://qa.fmod.com/t/dsp-custom-cpp-on-c/15987)

<div class="topic-metadata">

**Author:** [@LoVic](https://qa.fmod.com/u/LoVic)\
**Replies:** 1\
**Last updated:** [September 23, 2020, 5:18am UTC](https://qa.fmod.com/t/dsp-custom-cpp-on-c/15987 "2020-09-23T05:18:54Z")

</div>

How can I implement dsp\_cusom.cpp functionality on C#. Give examples please.

---

## [Does WebGL support spatialized audio?](https://qa.fmod.com/t/does-webgl-support-spatialized-audio/16148)

<div class="topic-metadata">

**Author:** [@FishEyes95](https://qa.fmod.com/u/FishEyes95)\
**Replies:** 13\
**Last updated:** [September 22, 2020, 12:55am UTC](https://qa.fmod.com/t/does-webgl-support-spatialized-audio/16148 "2020-09-22T00:55:41Z")

</div>

Hi guys, Pretty simple question here. I’m working on a project for a client and the key technical components are that spatialised audio is utilised and that the project is able to be embedded into a website. In the cur…

---

## [Error 51 on Linux](https://qa.fmod.com/t/error-51-on-linux/16184)

<div class="topic-metadata">

**Author:** [@rontt](https://qa.fmod.com/u/rontt)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 3:47am UTC](https://qa.fmod.com/t/error-51-on-linux/16184 "2020-09-21T03:47:22Z")

</div>

I have a Linux player that is getting error (51) “Error initializing output device.” He says audio is working on his machine and he’s tried speakers, headphones, etc, all with the same error. Audio works fine for most o…

---

## [Why my program with fmod api occlusion geomtry not work?](https://qa.fmod.com/t/why-my-program-with-fmod-api-occlusion-geomtry-not-work/16170)

<div class="topic-metadata">

**Author:** [@Dominator4](https://qa.fmod.com/u/Dominator4)\
**Replies:** 2\
**Last updated:** [September 15, 2020, 11:20am UTC](https://qa.fmod.com/t/why-my-program-with-fmod-api-occlusion-geomtry-not-work/16170 "2020-09-15T11:20:49Z")

</div>

I am hobbyist c++ programmer and I learn fmod api library. I have a problem with my program, it compile but doesn’t work as it should. It creates 3D sound in front of listener like there is a wall between, and this sound…

---

## [Getting the Metering Info of a specific bus/sound when volume set to 0?](https://qa.fmod.com/t/getting-the-metering-info-of-a-specific-bus-sound-when-volume-set-to-0/16146)

<div class="topic-metadata">

**Author:** [@MiddleMan82](https://qa.fmod.com/u/MiddleMan82)\
**Replies:** 3\
**Last updated:** [September 14, 2020, 5:14am UTC](https://qa.fmod.com/t/getting-the-metering-info-of-a-specific-bus-sound-when-volume-set-to-0/16146 "2020-09-14T05:14:50Z")

</div>

I’m using the metering info of my dialogue as values in the animation of my characters. The problem I have is that I want the user to be able to mute the dialogue if they want and still get this animation, but if I turn …

---

## [FMOD crash on Android and iOS](https://qa.fmod.com/t/fmod-crash-on-android-and-ios/15780)

<div class="topic-metadata">

**Author:** [@maksimomelyanchuk](https://qa.fmod.com/u/maksimomelyanchuk)\
**Replies:** 21\
**Last updated:** [September 10, 2020, 7:20am UTC](https://qa.fmod.com/t/fmod-crash-on-android-and-ios/15780 "2020-09-10T07:20:15Z")

</div>

I have crashes for version 2.00.08. Below are stacktraces of crashed threads. I can not reproduce it localy but my application users have it a lot of times. There is no special activity in main thread that uses FMOD at t…

---

## [Event 3D Position / SetSpeakerPosition](https://qa.fmod.com/t/event-3d-position-setspeakerposition/14864)

<div class="topic-metadata">

**Author:** [@bprendergast62](https://qa.fmod.com/u/bprendergast62)\
**Replies:** 8\
**Last updated:** [September 10, 2020, 6:11am UTC](https://qa.fmod.com/t/event-3d-position-setspeakerposition/14864 "2020-09-10T06:11:34Z")

</div>

I’m not sure if this is a bug or user error (most likely, it’s me). I was using setSpeakerPosition() to specify the physical angles of the actual speaker layout. Just to make sure it worked, I used setSpeakerPosition()…

---

## [A midi controller in a desktop program makes the sound files stop sounding](https://qa.fmod.com/t/a-midi-controller-in-a-desktop-program-makes-the-sound-files-stop-sounding/16140)

<div class="topic-metadata">

**Author:** [@Keitel1](https://qa.fmod.com/u/Keitel1)\
**Replies:** 4\
**Last updated:** [September 8, 2020, 12:15pm UTC](https://qa.fmod.com/t/a-midi-controller-in-a-desktop-program-makes-the-sound-files-stop-sounding/16140 "2020-09-08T12:15:55Z")

</div>

I don’t know if this issue is directly related to Fmod, but as I have not gotten any useful answer on a MSDN forum for almost the same question, I try to post it here. If someone at least could give me a hint or an idea …

---

## [Channel priority and vol0 virtual](https://qa.fmod.com/t/channel-priority-and-vol0-virtual/16142)

<div class="topic-metadata">

**Author:** [@LemonTree](https://qa.fmod.com/u/LemonTree)\
**Replies:** 3\
**Last updated:** [September 7, 2020, 7:40am UTC](https://qa.fmod.com/t/channel-priority-and-vol0-virtual/16142 "2020-09-07T07:40:40Z")

</div>

hi Mathew i had use FMOD\_INIT\_VOL0\_BECOMES\_VIRTUAL in system init and allocate 0.01 to it.But when I use FMOD\_Channel\_setPriority make some channel priority to high, i see the channels always real channel though the aud…

---

## [When to flush stream buffer with loop points](https://qa.fmod.com/t/when-to-flush-stream-buffer-with-loop-points/16098)

<div class="topic-metadata">

**Author:** [@LemonTree](https://qa.fmod.com/u/LemonTree)\
**Replies:** 2\
**Last updated:** [August 20, 2020, 6:53am UTC](https://qa.fmod.com/t/when-to-flush-stream-buffer-with-loop-points/16098 "2020-08-20T06:53:19Z")

</div>

hi Mathew When I use Fmod\_ Channel\_ Setlooppoints to set the streaming sound loop information. How can I determine whether to call Channel::setPosition in this process.

---

## [How to compile FMOD project using CMake instead of old NDK Makefiles?](https://qa.fmod.com/t/how-to-compile-fmod-project-using-cmake-instead-of-old-ndk-makefiles/15842)

<div class="topic-metadata">

**Author:** [@rafagan](https://qa.fmod.com/u/rafagan)\
**Replies:** 6\
**Last updated:** [August 31, 2020, 3:56am UTC](https://qa.fmod.com/t/how-to-compile-fmod-project-using-cmake-instead-of-old-ndk-makefiles/15842 "2020-08-31T03:56:52Z")

</div>

I trying to compile a simple android project including fmod, without success. How can I achieve that? There’s some way to update the android examples with the new approach?

---

## [Set Spatializer's Sound Size Programmatically](https://qa.fmod.com/t/set-spatializers-sound-size-programmatically/16078)

<div class="topic-metadata">

**Author:** [@jag82](https://qa.fmod.com/u/jag82)\
**Replies:** 7\
**Last updated:** [August 27, 2020, 2:14am UTC](https://qa.fmod.com/t/set-spatializers-sound-size-programmatically/16078 "2020-08-27T02:14:53Z")

</div>

Via the API I can set the Spatializer’s min/max distance (if it’s on the Master Track): eventInstance-\>setProperty(FMOD\_STUDIO\_EVENT\_PROPERTY\_MINIMUM\_DISTANCE, customValue); I would like to be able to do the same for …

---

## [FMOD initialization and interruptions on iOS/Android](https://qa.fmod.com/t/fmod-initialization-and-interruptions-on-ios-android/15831)

<div class="topic-metadata">

**Author:** [@maksimomelyanchuk](https://qa.fmod.com/u/maksimomelyanchuk)\
**Replies:** 16\
**Last updated:** [August 26, 2020, 7:06am UTC](https://qa.fmod.com/t/fmod-initialization-and-interruptions-on-ios-android/15831 "2020-08-26T07:06:40Z")

</div>

Hi, I’m using version 2.00.08. I have two questions: Can I do fmod system initialization on iOS before I do \[\[AVAudioSession sharedInstance\] setActive:true\] first time? Will it fail in such way of initialization If I d…

---

## [FMOD CORE API | Channel mamangment](https://qa.fmod.com/t/fmod-core-api-channel-mamangment/16094)

<div class="topic-metadata">

**Author:** [@Rafaelb149](https://qa.fmod.com/u/Rafaelb149)\
**Replies:** 2\
**Last updated:** [August 23, 2020, 8:43am UTC](https://qa.fmod.com/t/fmod-core-api-channel-mamangment/16094 "2020-08-23T08:43:14Z")

</div>

Hi I’m a FMOD newbie (working on iOS). I’m want to enforce that no more than 24 sounds will be played in my app, so I init FMOD system with 24 channels. I’m checking current playing channels (getChannelsPlaying) before…

---

## [New to FMOD, can someone help me?](https://qa.fmod.com/t/new-to-fmod-can-someone-help-me/16092)

<div class="topic-metadata">

**Author:** [@Potestatem](https://qa.fmod.com/u/Potestatem)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 2:57pm UTC](https://qa.fmod.com/t/new-to-fmod-can-someone-help-me/16092 "2020-08-19T14:57:30Z")

</div>

Error: Cannot write subsound 4 to FSB. Source bit formats (i.e. PCM8, PCM16, etc) must match for all sub-sounds. Error : Failed to build wave bank ‘C:\\Users\\Victor\\Downloads\\files (online-audio-converter.com)\\music\_mod…

---

## [Post Mixer data buffer](https://qa.fmod.com/t/post-mixer-data-buffer/16088)

<div class="topic-metadata">

**Author:** [@CogSimGuy](https://qa.fmod.com/u/CogSimGuy)\
**Replies:** 2\
**Last updated:** [August 19, 2020, 12:58pm UTC](https://qa.fmod.com/t/post-mixer-data-buffer/16088 "2020-08-19T12:58:47Z")

</div>

Looking to get a data buffer in memory of post mixer output so it can be muxed into a video stream. What’s the best approach to take here? Am I looking at a custom output plugin or is there another/better approach to tak…

---

## [Pitch issues with 3D sounds](https://qa.fmod.com/t/pitch-issues-with-3d-sounds/16002)

<div class="topic-metadata">

**Author:** [@LemonTree](https://qa.fmod.com/u/LemonTree)\
**Replies:** 1\
**Last updated:** [July 23, 2020, 11:49pm UTC](https://qa.fmod.com/t/pitch-issues-with-3d-sounds/16002 "2020-07-23T23:49:21Z")

</div>

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

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