# FMOD Engine

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

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

**Page:** 21

---

## [Vibration / Haptics port is audible on PC, can I disable this?](https://qa.fmod.com/t/vibration-haptics-port-is-audible-on-pc-can-i-disable-this/19415)

<div class="topic-metadata">

**Author:** [@jeremyabel](https://qa.fmod.com/u/jeremyabel)\
**Replies:** 2\
**Last updated:** [October 24, 2022, 5:15am UTC](https://qa.fmod.com/t/vibration-haptics-port-is-audible-on-pc-can-i-disable-this/19415 "2022-10-24T05:15:35Z")

</div>

We’re using the latest version of FMOD in the latest version of Unreal Engine 5, and we’re noticing that the haptics vibration port is outputting as regular audio in both the UE5 editor and in packaged builds for Windows…

---

## [FMOD\_ERR\_INTERNAL when trying to reload the same sound on android](https://qa.fmod.com/t/fmod-err-internal-when-trying-to-reload-the-same-sound-on-android/19379)

<div class="topic-metadata">

**Author:** [@dominiknkrs](https://qa.fmod.com/u/dominiknkrs)\
**Replies:** 9\
**Last updated:** [October 16, 2022, 11:17pm UTC](https://qa.fmod.com/t/fmod-err-internal-when-trying-to-reload-the-same-sound-on-android/19379 "2022-10-16T23:17:40Z")

</div>

I’m developing a react native library for my upcoming android app using fmod. So far I’ve been testing it only with files coming from the android\_asset folder (file:///android\_asset/sound.ogg) and everything worked decen…

---

## [Get Output Buffer from API](https://qa.fmod.com/t/get-output-buffer-from-api/19385)

<div class="topic-metadata">

**Author:** [@shplss](https://qa.fmod.com/u/shplss)\
**Replies:** 1\
**Last updated:** [October 17, 2022, 4:21am UTC](https://qa.fmod.com/t/get-output-buffer-from-api/19385 "2022-10-17T04:21:31Z")

</div>

Hello, Currently I’m developing an app in JUCE that uses the FMOD API for behaviour handling of events and other things, and I’d like to tap into the output buffer in order to pass it into the JUCE buffer, instead of ha…

---

## [Correct way to call getFadePoints](https://qa.fmod.com/t/correct-way-to-call-getfadepoints/19361)

<div class="topic-metadata">

**Author:** [@joshechoes](https://qa.fmod.com/u/joshechoes)\
**Replies:** 2\
**Last updated:** [October 10, 2022, 4:12am UTC](https://qa.fmod.com/t/correct-way-to-call-getfadepoints/19361 "2022-10-10T04:12:34Z")

</div>

What is the correct way to call getFadePoints? unsigned int numpoints; unsigned long long \*point\_dspclock; float \*point\_volume; result = channel-\>getFadePoints(&numpoints, point\_dspclock, point\_volume); I’m doing this,…

---

## [Failing to link wasm libs when shared memory flags are used](https://qa.fmod.com/t/failing-to-link-wasm-libs-when-shared-memory-flags-are-used/19370)

<div class="topic-metadata">

**Author:** [@tom\_brightstar](https://qa.fmod.com/u/tom_brightstar)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 5:07am UTC](https://qa.fmod.com/t/failing-to-link-wasm-libs-when-shared-memory-flags-are-used/19370 "2022-10-07T05:07:29Z")

</div>

We’re attempting to evaluate FMOD for our game which is written in C++, but is compiled for the browser. Our game makes use of multi threading and shared memory in the browser, which requires us to enable certain flags.…

---

## [Volume difference between Audio APIs](https://qa.fmod.com/t/volume-difference-between-audio-apis/19298)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 5\
**Last updated:** [October 7, 2022, 12:46am UTC](https://qa.fmod.com/t/volume-difference-between-audio-apis/19298 "2022-10-07T00:46:10Z")

</div>

One of our users said our game volume decreased when they switched the Audio API option from OpenSL to AAudio in our game settings. We already knew about this because we also noticed it with our test devices Samsung Gal…

---

## [ASIO input on selected channels examples?](https://qa.fmod.com/t/asio-input-on-selected-channels-examples/19349)

<div class="topic-metadata">

**Author:** [@octamed](https://qa.fmod.com/u/octamed)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 11:57pm UTC](https://qa.fmod.com/t/asio-input-on-selected-channels-examples/19349 "2022-10-05T23:57:30Z")

</div>

I’m having a hell of a time simply recording sound from individual channels on my ASIO box. There’s so many conflicting incomplete examples and forum posts from the last 20 years I’m going in circles and am pretty amaze…

---

## [Processing recorded sound in real time?](https://qa.fmod.com/t/processing-recorded-sound-in-real-time/19347)

<div class="topic-metadata">

**Author:** [@arielm](https://qa.fmod.com/u/arielm)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 11:38pm UTC](https://qa.fmod.com/t/processing-recorded-sound-in-real-time/19347 "2022-10-05T23:38:06Z")

</div>

Hi, I’m quoting from this 9 years old article and I would like to know if it has changed since then. The problem with any kind of analysis or processing of sound in FMOD is that it can only be done on an FMOD::Sound o…

---

## [createSound containing umlauts fails with FMOD\_ERR\_INTERNAL](https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348)

<div class="topic-metadata">

**Author:** [@patrick.engel](https://qa.fmod.com/u/patrick.engel)\
**Replies:** 1\
**Last updated:** [October 3, 2022, 5:01am UTC](https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348 "2022-10-03T05:01:23Z")

</div>

Hi there I’m struggling when loading files containing umlauts. The code looks as follows: #include “…/lib/Fmod/inc/fmod.hpp” int main() { FMOD::System\* pSystem; FMOD::Sound\* pSound; FMOD::Channel\* pChannel; FMOD:…

---

## [3d gunshot randomly saturate when at certain distance](https://qa.fmod.com/t/3d-gunshot-randomly-saturate-when-at-certain-distance/19350)

<div class="topic-metadata">

**Author:** [@Sypher](https://qa.fmod.com/u/Sypher)\
**Replies:** 1\
**Last updated:** [October 2, 2022, 8:48am UTC](https://qa.fmod.com/t/3d-gunshot-randomly-saturate-when-at-certain-distance/19350 "2022-10-02T08:48:38Z")

</div>

Hi, I started using fmod core api for my c++ engine. I have trouble with a gunshot sound from distance. I’have made a video to expose the problem. youtube video link The firsts shots (far from listener) are randomly n…

---

## [Is it possible to record from speakers on mac?](https://qa.fmod.com/t/is-it-possible-to-record-from-speakers-on-mac/19334)

<div class="topic-metadata">

**Author:** [@arielm](https://qa.fmod.com/u/arielm)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 10:53am UTC](https://qa.fmod.com/t/is-it-possible-to-record-from-speakers-on-mac/19334 "2022-09-30T10:53:29Z")

</div>

When I enumerate all the recording sources using getRecordDriverInfo(), I only get microphone devices. Do I miss something or it is not possible to record from speakers on mac?

---

## [The performance difference between C and C++ versions](https://qa.fmod.com/t/the-performance-difference-between-c-and-c-versions/19339)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 6:57am UTC](https://qa.fmod.com/t/the-performance-difference-between-c-and-c-versions/19339 "2022-09-30T06:57:45Z")

</div>

I personally prefer the C version for various reasons. It’s mainly because all the older projects were written with it so it’s easy to maintain them, and often I copy previous implementations to newer projects. I know …

---

## [Custom Speaker Layout?](https://qa.fmod.com/t/custom-speaker-layout/19306)

<div class="topic-metadata">

**Author:** [@AroojM](https://qa.fmod.com/u/AroojM)\
**Replies:** 4\
**Last updated:** [September 29, 2022, 3:02am UTC](https://qa.fmod.com/t/custom-speaker-layout/19306 "2022-09-29T03:02:32Z")

</div>

How do I create a custom speaker layout in FMOD? We’re developing a system with multiple speakers and a traditional sound speaker layout configuration like 7.1 surround sound won’t work for our needs. The only thing I ca…

---

## [Is the FMOD\_Channel\_IsPlaying() always guaranteed to work properly?](https://qa.fmod.com/t/is-the-fmod-channel-isplaying-always-guaranteed-to-work-properly/19315)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 1\
**Last updated:** [September 29, 2022, 12:24am UTC](https://qa.fmod.com/t/is-the-fmod-channel-isplaying-always-guaranteed-to-work-properly/19315 "2022-09-29T00:24:09Z")

</div>

Do I need to set the value of the variable isPlaying to 0 before calling FMOD\_Channel\_IsPlaying(myChannel, &isPlaying)? A long time ago when I used the function of the older FMOD Ex version, it always returned “true”. …

---

## [Multiple Platform Build only shows Desktop in Unity](https://qa.fmod.com/t/multiple-platform-build-only-shows-desktop-in-unity/19319)

<div class="topic-metadata">

**Author:** [@RecursiveFrog](https://qa.fmod.com/u/RecursiveFrog)\
**Replies:** 3\
**Last updated:** [September 28, 2022, 7:26am UTC](https://qa.fmod.com/t/multiple-platform-build-only-shows-desktop-in-unity/19319 "2022-09-28T07:26:25Z")

</div>

I’m not sure what caused this to happen or why it’s happening now and not before, but I’m having issues with Multiple Platform Build when the audio source is Asset Bundles, where the bundles are loaded using Addressables…

---

## [About vol0virtualvol](https://qa.fmod.com/t/about-vol0virtualvol/19299)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 10:12am UTC](https://qa.fmod.com/t/about-vol0virtualvol/19299 "2022-09-27T10:12:26Z")

</div>

I know myChannel will be muted in the following code: advancedSettings.vol0virtualvol = 0.5f; ... FMOD\_Channel\_SetVolume(myChannel, 0.5f); But what if myChannel’s volume is set to 1.0f but the sound source is quiet and…

---

## [Timeline problem about creatSound with MODE.CREATESTREAM](https://qa.fmod.com/t/timeline-problem-about-creatsound-with-mode-createstream/19203)

<div class="topic-metadata">

**Author:** [@RiddleC](https://qa.fmod.com/u/RiddleC)\
**Replies:** 8\
**Last updated:** [September 26, 2022, 9:04am UTC](https://qa.fmod.com/t/timeline-problem-about-creatsound-with-mode-createstream/19203 "2022-09-26T09:04:37Z")

</div>

Hi, forums! I use a url to play web audio. In order to reduce GC overhead, I use MODE.CREATESTREAM to CreateSound. However, when the sound starts playing, the Timelineposition is always offset backwards for a period of …

---

## [High latency with AAudio](https://qa.fmod.com/t/high-latency-with-aaudio/19196)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 8\
**Last updated:** [September 21, 2022, 4:19am UTC](https://qa.fmod.com/t/high-latency-with-aaudio/19196 "2022-09-21T04:19:57Z")

</div>

As we know, AAudio is a newer lightweight audio API for Android. It was introduced with Android 8 but had serious bugs on the version. Those were all fixed on Android 8.1. So we thought AAudio was a safe choice for th…

---

## [ERR\_INVALID\_HANDLE on createStream() on Linux](https://qa.fmod.com/t/err-invalid-handle-on-createstream-on-linux/16707)

<div class="topic-metadata">

**Author:** [@gn.fur](https://qa.fmod.com/u/gn.fur)\
**Replies:** 13\
**Last updated:** [September 20, 2022, 11:25am UTC](https://qa.fmod.com/t/err-invalid-handle-on-createstream-on-linux/16707 "2022-09-20T11:25:21Z")

</div>

When I call createSound() on Linux, it returns ERR\_INVALID\_HANDLE. Windows and Android work fine. I am using 12.7 version of FMOD. My code: public static Sound LoadStreamedSound(string path) { var buffer = Fi…

---

## [FMOD\_STUDIO\_STOP\_IMMEDIATE causes clicky noise](https://qa.fmod.com/t/fmod-studio-stop-immediate-causes-clicky-noise/19291)

<div class="topic-metadata">

**Author:** [@itel](https://qa.fmod.com/u/itel)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 4:48am UTC](https://qa.fmod.com/t/fmod-studio-stop-immediate-causes-clicky-noise/19291 "2022-09-20T04:48:51Z")

</div>

Hello, Using EventInstance::stop() with the FMOD\_STUDIO\_STOP\_IMMEDIATE argument causes clicky noise on the event finishing. You can reproduce this issue inside FMOD Studio by repeatedly playing and stopping the event by…

---

## [About FMOD\_INIT\_THREAD\_UNSAFE](https://qa.fmod.com/t/about-fmod-init-thread-unsafe/19244)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 1\
**Last updated:** [September 12, 2022, 4:41am UTC](https://qa.fmod.com/t/about-fmod-init-thread-unsafe/19244 "2022-09-12T04:41:06Z")

</div>

When the Core thread safety is disabled with the FMOD\_INIT\_THREAD\_UNSAFE flag and the funcForDifferentThread() is called “from different threads multiple times”, will the below pseudocode work? class MySound { float cu…

---

## [API Studio Scripting: play a sound when build is complete](https://qa.fmod.com/t/api-studio-scripting-play-a-sound-when-build-is-complete/19248)

<div class="topic-metadata">

**Author:** [@GiacomoF](https://qa.fmod.com/u/GiacomoF)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 2:58pm UTC](https://qa.fmod.com/t/api-studio-scripting-play-a-sound-when-build-is-complete/19248 "2022-09-08T14:58:31Z")

</div>

Hi there, I am looking to write a very simple js script that can play an FMOD Studio Event after having built banks (a notification sound of sorts). I have got the build banks working but I don’t understand how the Eve…

---

## [Adjust the sound effect without playing the sound](https://qa.fmod.com/t/adjust-the-sound-effect-without-playing-the-sound/19186)

<div class="topic-metadata">

**Author:** [@FineJared8](https://qa.fmod.com/u/FineJared8)\
**Replies:** 4\
**Last updated:** [September 8, 2022, 7:39am UTC](https://qa.fmod.com/t/adjust-the-sound-effect-without-playing-the-sound/19186 "2022-09-08T07:39:13Z")

</div>

We are developing various audio data processes such as this one: first, through processing to the current way, such as adding MOD to PCM by collecting PCM data, after processing, input the processed data into virtual sou…

---

## [Problem with HTML5 build on NW.js](https://qa.fmod.com/t/problem-with-html5-build-on-nw-js/19116)

<div class="topic-metadata">

**Author:** [@creta5164](https://qa.fmod.com/u/creta5164)\
**Replies:** 8\
**Last updated:** [September 7, 2022, 1:51am UTC](https://qa.fmod.com/t/problem-with-html5-build-on-nw-js/19116 "2022-09-07T01:51:40Z")

</div>

I’m testing the newest version of the FMOD HTML5 build (upstream wasm) in the NW.js environment. It recognizes it as a Node environment, but doesn’t recognize \_\_dirname and \_\_filename because some features work slight…

---

## [Cannot enable reverb on master group](https://qa.fmod.com/t/cannot-enable-reverb-on-master-group/19191)

<div class="topic-metadata">

**Author:** [@cosmy](https://qa.fmod.com/u/cosmy)\
**Replies:** 1\
**Last updated:** [August 31, 2022, 6:58am UTC](https://qa.fmod.com/t/cannot-enable-reverb-on-master-group/19191 "2022-08-31T06:58:13Z")

</div>

Hello, I am trying to enable reverb on master channel but I get FMOD\_ERR\_DSP\_CONNECTION when calling masterGroup-\>setReverbProperties(…); My code is: // Set reverb properties for first instance: FMOD\_REVERB\_PROPERTIE…

---

## [About Compressed Sample](https://qa.fmod.com/t/about-compressed-sample/19181)

<div class="topic-metadata">

**Author:** [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Replies:** 1\
**Last updated:** [August 29, 2022, 5:51am UTC](https://qa.fmod.com/t/about-compressed-sample/19181 "2022-08-29T05:51:25Z")

</div>

I heard from somewhere that the “Compressed Sample” mode uses a 200kb-sized buffer. If so, I think there’s no benefit to using the mode with 200kb audio files. Is this correct?

---

## [C++ Core API: How to get PCM data after dsp processing?](https://qa.fmod.com/t/c-core-api-how-to-get-pcm-data-after-dsp-processing/16957)

<div class="topic-metadata">

**Author:** [@zcguan](https://qa.fmod.com/u/zcguan)\
**Replies:** 7\
**Last updated:** [August 29, 2022, 2:19am UTC](https://qa.fmod.com/t/c-core-api-how-to-get-pcm-data-after-dsp-processing/16957 "2022-08-29T02:19:04Z")

</div>

I want to get the raw PCM output data in memory after all the dsp effects rendered, which is used for other processing. Currently, I can only write audios into wav files and read them back as pcm into memory. Due to some…

---

## [FMOD streaming audio data consumption problem](https://qa.fmod.com/t/fmod-streaming-audio-data-consumption-problem/19161)

<div class="topic-metadata">

**Author:** [@slein13](https://qa.fmod.com/u/slein13)\
**Replies:** 3\
**Last updated:** [August 26, 2022, 12:45am UTC](https://qa.fmod.com/t/fmod-streaming-audio-data-consumption-problem/19161 "2022-08-26T00:45:27Z")

</div>

We’re using FMOD to output two different “sounds” to two different output devices. These sounds are user audio streams we fill with data using the pcmreadcallback. The sound is created as followed: exinfo.cbsize = size…

---

## [macOS: Crash when unplugging headphones](https://qa.fmod.com/t/macos-crash-when-unplugging-headphones/19057)

<div class="topic-metadata">

**Author:** [@DrNoob](https://qa.fmod.com/u/DrNoob)\
**Replies:** 13\
**Last updated:** [August 22, 2022, 11:12pm UTC](https://qa.fmod.com/t/macos-crash-when-unplugging-headphones/19057 "2022-08-22T23:12:38Z")

</div>

Hi everyone, my game (with custom engine) uses the fmod library (v2.02.07) for audio output. Few problems so far which is great! However, when I unplug my headphones (connected via headphone jack, not USB or bluetooth)…

---

## [Playing sound specific range](https://qa.fmod.com/t/playing-sound-specific-range/18497)

<div class="topic-metadata">

**Author:** [@intofin](https://qa.fmod.com/u/intofin)\
**Replies:** 14\
**Last updated:** [August 15, 2022, 2:42pm UTC](https://qa.fmod.com/t/playing-sound-specific-range/18497 "2022-08-15T14:42:50Z")

</div>

Hi, I have few questions: I would like to play a specific range\[startTime, endTime\] of a sound file, is there an efficient way to do it ? I tried to setLoopPoints and setDelay but I couldn’t make them work. Of course…

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

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