# VCA Get Volume

**URL:** <https://qa.fmod.com/t/vca-get-volume/24536>\
**Category:** FMOD Studio\
**Tags:** cpp\
**Created:** [September 28, 2026, 9:27pm UTC](https://qa.fmod.com/t/vca-get-volume/24536 "2026-09-28T21:27:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sidera](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sidera](https://qa.fmod.com/u/Sidera)\
**Post date:** [September 28, 2026, 9:27pm UTC](https://qa.fmod.com/t/vca-get-volume/24536/1 "2026-09-28T21:27:25Z")

</div>

Hello!

This function is incredibly confusing. What “volume” variables do I need to pass into this function to _get_ the current VCA volume?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b43f00454b31d898e4ee745cdec1773b36f9e0fc.png)

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/caefccd16095295b060f2386dc6223a14a558a3e.png)

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [October 1, 2026, 5:16am UTC](https://qa.fmod.com/t/vca-get-volume/24536/2 "2026-10-01T05:16:29Z")

</div>

Almost all functions in the FMOD API return an `FMOD_RESULT` error code, indicating which error, if any, has occured. Information passed out by functions is passed out by reference, using the pointers you pass in to the function.

As per [our documentation](https://www.fmod.com/docs/2.03/api/studio-api-vca.html#studio_vca_getvolume), VCA::getVolume requires you to pass in pointers to two floats, like so:

```auto
float volume;
float finalVolume;
MasterVCA->getVolume(&volume, &finalVolume);

```

`volume` is the value set using the VCA::setVCA function, and `finalvolume` is the VCA’s actual volume value after all internal calculation, which includes the volume you set via the API, as well as any automation and modulation. Which float value to return from your function will depend on which of these you actually need.
