# Sound Cannot be Heard

**URL:** https://qa.fmod.com/t/sound-cannot-be-heard/21544
**Category:** FMOD Engine
**Tags:** openharmony
**Created:** [April 26, 2024, 3:17am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544 "2024-04-26T03:17:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![luoxixuan](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@luoxixuan](https://qa.fmod.com/u/luoxixuan)
#### Post date: [April 26, 2024, 3:17am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544/1 "2024-04-26T03:17:52Z")

</div>

load bank and bank assets, load event, play event, i havent get any error or warning msg, but the sound cannot be heard.  
my code is like this:

> FMOD::Studio::EventDescription\* eventDescription = \_loadEventDesc(eventName);  
> FMOD::Studio::EventInstance \* eventInstance;  
> if(eventDescription){  
> Preformatted textFMOD\_RESULT result = eventDescription-\>createInstance(eventInstance);  
> eventInstance-\>start();  
> }

---

<div class="post-metadata">

### Author: ![luoxixuan](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@luoxixuan](https://qa.fmod.com/u/luoxixuan)
#### Post date: [April 26, 2024, 7:34am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544/2 "2024-04-26T07:34:10Z")

</div>

04-26 14:54:25.672 5050-5098 A0FF0D/fmod com. I System::create : Header version = 2.02.21. Current version = 2.02.21.  
04-26 14:54:25.674 5050-5098 A0FF0D/fmod com. I SystemI::setOutputInternal : Setting output to ‘FMOD OpenHarmony Audio Output’  
04-26 14:54:25.674 5050-5098 A0FF0D/fmod com. I Manager::init : maxchannels = 1024 studioflags = 00000000 flags 00000000 extradriverdata 0.  
04-26 14:54:25.674 5050-5098 A0FF0D/fmod com. I SystemI::init : Initialize version=20221 (141420), maxchannels=1024, flags=0x00020000  
04-26 14:54:25.706 5050-5098 A0FF0D/fmod com. I OHAudio\_Init : Output buffer size: 1114 samples, DSP buffer: 1024 \* 4.  
04-26 14:54:25.707 5050-5098 A0FF0D/fmod com. I DownMix::init : dspbuffersize: 1024 rate: 48000. output speaker mode: 3, input speaker mode 6  
04-26 14:54:25.707 5050-5098 A0FF0D/fmod com. I DownMix::init : done.  
04-26 14:54:25.711 5050-5098 A0FF0D/fmod com. I Thread::initThread : Init FMOD stream thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFB, Stack Size: 98304, Semaphore: No, Sleep Time: 10, Looping: Yes.  
04-26 14:54:25.723 5050-5307 A0FF0D/fmod com. W OutputRingBuffer::read : Insufficient buffer size detected, requested 106992 bytes, buffer size is 98304 bytes.

---

<div class="post-metadata">

### Author: ![luoxixuan](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@luoxixuan](https://qa.fmod.com/u/luoxixuan)
#### Post date: [April 26, 2024, 8:47am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544/3 "2024-04-26T08:47:30Z")

</div>

i tried this, and it works!

> m\_lowLevelSystem-\>setDSPBufferSize(2048, 4);

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [April 29, 2024, 2:17am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544/4 "2024-04-29T02:17:26Z")

</div>

Hi,

Thank you for sharing the solution!
