# Sound Library Issue

**URL:** <https://discourse.processing.org/t/sound-library-issue/16647>\
**Category:** Processing for Android\
**Created:** [December 27, 2019, 2:30am UTC](https://discourse.processing.org/t/sound-library-issue/16647 "2019-12-27T02:30:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [December 29, 2019, 1:39am UTC](https://discourse.processing.org/t/sound-library-issue/16647/6 "2019-12-29T01:39:02Z")

</div>

My suggestion is to dig into the source code and understand the implementation of the Sound library. Then, it is very likely you will need to ensure this internal “sound” structure is disposed properly. I wouldn’t discard this to be a bug and in that case, my approach would be to use Akenaton’s approach and file a bug report. To implement the MediaPlayer, I will start by exploring previous posts and you will find a starting point:

- [https://forum.processing.org/two/discussion/19302/using-android-mediaplayer-to-play-sound](https://forum.processing.org/two/discussion/19302/using-android-mediaplayer-to-play-sound)
- [https://forum.processing.org/one/topic/using-mediaplayer-and-sound-assets.html](https://forum.processing.org/one/topic/using-mediaplayer-and-sound-assets.html)
- [https://forum.processing.org/one/topic/anroid-mediaplayer.html](https://forum.processing.org/one/topic/anroid-mediaplayer.html)
- [Using MediaPlayer or SoundPool](https://discourse.processing.org/t/using-mediaplayer-or-soundpool/1080)

You should address this issue before you publish.

Kf

---

_[View the full topic](https://discourse.processing.org/t/sound-library-issue/16647)._
