# Fmod snapshot doesn't stop

**URL:** https://qa.fmod.com/t/fmod-snapshot-doesnt-stop/13678
**Category:** FMOD Studio
**Created:** [January 31, 2018, 3:17pm UTC](https://qa.fmod.com/t/fmod-snapshot-doesnt-stop/13678 "2018-01-31T15:17:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Metarules](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Metarules](https://qa.fmod.com/u/Metarules)
#### Post date: [January 31, 2018, 3:17pm UTC](https://qa.fmod.com/t/fmod-snapshot-doesnt-stop/13678/1 "2018-01-31T15:17:18Z")

</div>

Hello, I am going to use snapshots to mute and unmute music volume. What I found is that “muting” snapshot works, i.e. it mutes music, but corresponding event instance never stops (it has FMOD\_STUDIO\_PLAYBACK\_PLAYING state) and hence it is never released. Of course, I call release() function to schedule release of the event once it stopped.  
Even after calling update() function situation remains. It can only be solved after I manually call stop() function for the event instance. As a consequence when I call “unmuting” snapshot nothing happens, music remains the same muted. Could you pls advise on this? What can be the problem here?

Regards,  
Pavel

---

<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: [January 31, 2018, 10:05pm UTC](https://qa.fmod.com/t/fmod-snapshot-doesnt-stop/13678/2 "2018-01-31T22:05:23Z")

</div>

Hi Pavel,

That is the expected behaviour. Snapshots are a kind of event, but their behaviour differs slightly.

The `release()` function will remove event instances from memory once they have naturally finished. In a normal event situation, this is when there is no sound being produced, no instruments are triggered, and no transitions/loop regions exist beyond the point of the playback position.

In a snapshot, you can’t place instruments or produce audio, so if it was treated like a regular event it would constantly “finish” when called. So instead, snapshots remain alive until they are explicitly told to stop.

I hope this has given a bit more insight. Let me know if you need more info.

Thanks,  
Richard

---

<div class="post-metadata">

### Author: ![Metarules](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Metarules](https://qa.fmod.com/u/Metarules)
#### Post date: [February 1, 2018, 6:36am UTC](https://qa.fmod.com/t/fmod-snapshot-doesnt-stop/13678/3 "2018-02-01T06:36:08Z")

</div>

Richard, thank you for the answer. Now everything is clear.

Regards,  
Pavel
