# About vol0virtualvol

**URL:** <https://qa.fmod.com/t/about-vol0virtualvol/19299>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [September 21, 2022, 7:12pm UTC](https://qa.fmod.com/t/about-vol0virtualvol/19299 "2022-09-21T19:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [September 21, 2022, 7:12pm UTC](https://qa.fmod.com/t/about-vol0virtualvol/19299/1 "2022-09-21T19:12:27Z")

</div>

I know **myChannel** will be muted in the following code:

```auto
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 its real output level is below 0.5f?

I tested this myself and found `vol0virtualvol` doesn’t apply in this case, but I’m just asking to ensure.

---

<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 27, 2022, 4:44am UTC](https://qa.fmod.com/t/about-vol0virtualvol/19299/2 "2022-09-27T04:44:07Z")

</div>

The `vol0virtualvol` value is compared against the [audibility calculation](https://fmod.com/docs/2.02/api/core-api-channelcontrol.html#channelcontrol_getaudibility) of a `Channel`, which involves more than just the `Channel`’s volume.  
So if `Channel::getAubilitiy` returns \< 0.5f then the `Channel` should be virtual.

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [September 27, 2022, 10:12am UTC](https://qa.fmod.com/t/about-vol0virtualvol/19299/3 "2022-09-27T10:12:26Z")

</div>

Now I get it. Thanks!
