# Making audio come out of both PC speakers as well as PS5 Controller (vibration/speaker) on Windows

**URL:** <https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [November 3, 2021, 9:36pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901 "2021-11-03T21:36:02Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![schauhan](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@schauhan](https://qa.fmod.com/u/schauhan)\
**Post date:** [November 3, 2021, 9:36pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/1 "2021-11-03T21:36:02Z")

</div>

Hi,  
Just wanted to know if the PS5 Controller vibration system (advanced vibration) can be made to work on PC with the speakers.

I have set the controller’s scePadSetVibrationMode to advanced, and setting the audio device of the PC to PS5 Controller makes the advanced vibration feature work.

My question is how to make the audio come out of PC speakers as well as PS5 controller.  
Any code example would be much appreciated and will be happy to provide more info regarding this.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [November 7, 2021, 11:55pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/2 "2021-11-07T23:55:21Z")

</div>

It isn’t possible to output to two separate devices from the same FMOD system. The only solution would be to load two FMOD systems outputting to two separate devices, however this will require loading all events and samples twice.

---

<div class="post-metadata">

**Author:** ![adamsporka](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/adamsporka/32/594_2.png) [@adamsporka](https://qa.fmod.com/u/adamsporka)\
**Post date:** [October 11, 2022, 6:17pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/3 "2022-10-11T18:17:37Z")

</div>

Pretty please, do I understand it correctly that it is still not possible to play simultaneously audio from PC and vibrations from a PS/5 controller using a single instance of FMOD? Thanks!

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [October 12, 2022, 3:46am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/4 "2022-10-12T03:46:46Z")

</div>

It is possible to output on both a PS5 controller and your speakers by setting up Returns on the controller Ports and Sends on your Events in FMOD Studio. This goes for the PS5 controller speaker as well.  
This screenshot shows returns on the _Vibration_ and _Speaker_ Ports, and the _Weapons/Machine Gun_ event with a Send to the _Vibration_ Return:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/06a43b016f9e3250455e790bb82e8dd9c5853d19.png)  
Now whenever the _Weapons/Machine Gun_ event is played, audio will be sent both to the main output and the controller vibration output.

---

<div class="post-metadata">

**Author:** ![adamsporka](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/adamsporka/32/594_2.png) [@adamsporka](https://qa.fmod.com/u/adamsporka)\
**Post date:** [October 13, 2022, 8:17am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/5 "2022-10-13T08:17:57Z")

</div>

Thank you for your response! Just to double-check, please: A combo [sounds out of a PC] + [vibrations out of a PS/5 controller] _can_ be handled by a single instance of FMOD? Because some time ago Richard wrote:

> [@richard\_simms](#):
>
> It isn’t possible to output to two separate devices from the same FMOD system.

Thanks!

---

<div class="post-metadata">

**Author:** ![adamsporka](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/adamsporka/32/594_2.png) [@adamsporka](https://qa.fmod.com/u/adamsporka)\
**Post date:** [October 13, 2022, 6:09pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/6 "2022-10-13T18:09:23Z")

</div>

One more question, related to this, please: The FMOD PS/5 documentation recommends the following structure of code to run the vibrations via the controller:

```auto
// Using Studio API
SceUserServiceUserId user0;
sceUserServiceGetInitialUser(&user0);

FMOD::Studio::Bus *con0;
system->getBus("port:/your_controller_port_name", &con0);

con0->setPortIndex(user0);

```

On PC, there is no `sceUserServiceGetInitialUser`. We don’t have any binaries of it. The only API we have is the _Pad Library for PC Games 1.1_ (ScePad). Where should we get appropriate the `SceUserServiceUserId` value? I can’t find any function which would do such a thing.

Thanks much!

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [October 17, 2022, 11:06pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/7 "2022-10-17T23:06:00Z")

</div>

> [@adamsporka](#):
>
> A combo [sounds out of a PC] + [vibrations out of a PS/5 controller] _can_ be handled by a single instance of FMOD?

I overlooked the “PC” part of your question. You cannot output to both your PC speakers and a PS5 controller on Windows without using 2 system objects. Apologies for the misinformation.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [October 17, 2022, 11:40pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/8 "2022-10-17T23:40:42Z")

</div>

> [@adamsporka](#):
>
> One more question, related to this, please: The FMOD PS/5 documentation recommends the following structure of code to run the vibrations via the controller:

You will need to load the controller output plugin located in “ **C:\Program Files\FMOD SoundSystem\FMOD Studio {version}\plugins\fmod\_output\_controller.dll** ” using [`System::loadPlugin`](https://fmod.com/docs/2.02/api/core-api-system.html#system_loadplugin), and set the output to your plugin handle. You can then pass in `FMOD_PORT_INDEX_NONE` to [`Studio::Bus::setPortIndex`](https://fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_setportindex), and any output ports setup in Studio will now output to the controller.

```cpp
unsigned int handle;
result = system->loadPlugin("fmod_output_controller.dll", &handle);
ERRCHECK(result);
result = system->setOutputByPlugin(handle);
ERRCHECK(result);
result = bus->setPortIndex(FMOD_PORT_INDEX_NONE);
ERRCHECK(result);

```

---

<div class="post-metadata">

**Author:** ![adamsporka](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/adamsporka/32/594_2.png) [@adamsporka](https://qa.fmod.com/u/adamsporka)\
**Post date:** [October 18, 2022, 3:38pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/9 "2022-10-18T15:38:34Z")

</div>

Thank you, Jeff, much appreciated!

---

<div class="post-metadata">

**Author:** ![Lenny](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lenny](https://qa.fmod.com/u/Lenny)\
**Post date:** [August 2, 2023, 12:26pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/10 "2023-08-02T12:26:15Z")

</div>

Hello Jeff,

I am currently looking to integrate DualSense haptic feedback to our game on PC but I can’t find the dedicated dll fmod\_output\_controller.dll in the path you gave.

Is it still relevant or the method changed ?

Cheers

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 3, 2023, 12:55am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/11 "2023-08-03T00:55:31Z")

</div>

This was missing from the FMOD Studio install for a couple of versions. We put it back in for our latest release- please try installing FMOD Studio 2.02.16 and it should be in “ **C:\Program Files\FMOD SoundSystem\FMOD Studio 2.02.16\plugins\fmod\_output\_controller.dll** ”.  
Please let me know if you run into any issues, and please keep in mind that use of the **fmod\_output\_controller.dll** outptut plugin will mean all audio gets routed to that.

> [@jeff\_fmod](#):
>
> You cannot output to both your PC speakers and a PS5 controller on Windows without using 2 system objects.

---

<div class="post-metadata">

**Author:** ![Lenny](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lenny](https://qa.fmod.com/u/Lenny)\
**Post date:** [August 3, 2023, 9:07am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/12 "2023-08-03T09:07:14Z")

</div>

Thanks for your quick reply, I found the dll in version 2.02.16.  
But after running the bit of code you gave in earlier posts (loading the plugin, and setting the port Index) I ran into an error while setting the port Index to FMOD\_PORT\_INDEX\_NONE

```auto
[TYPE]: AudioDriverFModStudio.cpp(5787) : A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. (0)

```

Thanks

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 9, 2023, 1:31am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/13 "2023-08-09T01:31:00Z")

</div>

Getting `FMOD_ERR_UNSUPPORTED` from [`Bus::setPortIndex`](https://fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_setportindex) suggests the call was not made on a port. Can you please confirm that you are trying to set the port index on a port and not a group, return, vca etc? This sort of port setup for example:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/ed265acce863dfe7a39c36b556e4cc3c1fe06e92.png)  
Would require these calls:

```cpp
FMOD::Studio::Bus* bus;
result = system->getBus("port:/Port", &bus);
ERRCHECK(result);
result = bus->setPortIndex(FMOD_PORT_INDEX_NONE);
ERRCHECK(result);

```

---

<div class="post-metadata">

**Author:** ![midikey](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@midikey](https://qa.fmod.com/u/midikey)\
**Post date:** [November 7, 2024, 6:17pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/14 "2024-11-07T18:17:32Z")

</div>

Hi Jeff! I was looking for information on how to set up ports in FMOD to test some events with my DualSense for vibration and the speaker. The routing and port sends are the same as yours, but I can’t hear anything from the speaker on my DualSense (the vibration is working). For the Output Device, I selected the FMOD Controller Output, assuming it was the output that would make the DualSense work. Is there any configuration that might be incorrect, or do I need to take any additional steps to test the events with my controller?

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [November 11, 2024, 11:14pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/15 "2024-11-11T23:14:00Z")

</div>

It looks like FMOD Controller Output currently only supports vibration ports unfortunately. I have created a task to support controller speaker ports as well.

---

<div class="post-metadata">

**Author:** ![midikey](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@midikey](https://qa.fmod.com/u/midikey)\
**Post date:** [November 26, 2024, 12:39pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/16 "2024-11-26T12:39:02Z")

</div>

Thank you very much for the response, Jeff, I’ll stay tuned for any updates!

---

<div class="post-metadata">

**Author:** ![sidebail](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sidebail](https://qa.fmod.com/u/sidebail)\
**Post date:** [September 24, 2026, 2:29pm UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/17 "2026-09-24T14:29:17Z")

</div>

@jeff_fmod

Hello Jeff! Is it supported by any chance in 2.03.12?

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [September 28, 2026, 1:02am UTC](https://qa.fmod.com/t/making-audio-come-out-of-both-pc-speakers-as-well-as-ps5-controller-vibration-speaker-on-windows/17901/18 "2026-09-28T01:02:27Z")

</div>

Not yet undortunately, but I’ve registered your interest in the task.
