# ChannelGroup isPlaying returns false

**URL:** <https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444>\
**Category:** FMOD Engine\
**Created:** [February 6, 2020, 11:19am UTC](https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444 "2020-02-06T11:19:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![coldwood](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@coldwood](https://qa.fmod.com/u/coldwood)\
**Post date:** [February 6, 2020, 11:19am UTC](https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444/1 "2020-02-06T11:19:01Z")

</div>

Hi,

I’m playing around with an occlusion system and noticed some weirdness.  
Before I start to shoot rays I check if the event actually is playing since I wanted to avoid that e.g scatter sounds are checked when not having any active sounds (works fine by the way).  
But then I had by accident a looped streamed event in the scene with the wav I use in audio track 2 and a short (muted) wav in audio track 1 (using temporary stuff) and I notice that channelgroup-\>isPlaying returns false when audio track 1 reach it’s end.  
Shouldn’t isPlaying return true if any sound in the group is playing?

I guess I can loop trough the individual channels to fix it, just thought it seemed weird.

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [February 7, 2020, 6:03am UTC](https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444/2 "2020-02-07T06:03:51Z")

</div>

> [@coldwood](#):
>
> t then I had by accident a looped streamed event in the scene with the wav I use in audio track 2 and a short (muted) wav in audio track 1 (using temporary stuff) and I notice that channelgroup-\>isPlaying returns false when audio track 1 reach it’s end.  
> Shouldn’t isPlaying return true if any sou

Hi ,  
We will have to test this but it does seem like it may be possible for a group that has isplaying=false , to overwrite the state of the previous group that has isplaying=true. Ie a possible bug.  
We will look into it further and get back to you.

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [February 11, 2020, 4:50am UTC](https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444/4 "2020-02-11T04:50:15Z")

</div>

I can confirm that there is an issue with isPlaying on channelgroups and it will be patched for the next minor release. The work around for now as you say is to check the individual channels.

---

<div class="post-metadata">

**Author:** ![coldwood](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@coldwood](https://qa.fmod.com/u/coldwood)\
**Post date:** [February 11, 2020, 8:29am UTC](https://qa.fmod.com/t/channelgroup-isplaying-returns-false/15444/5 "2020-02-11T08:29:58Z")

</div>

Great, thank you!
