Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17078

Possible bug? AudioEngine::setVolume(0.5) is not 50% of master volume as expected

$
0
0

@sefiroths wrote:

Hi, I'm using cocos2dx v3.8.
I have noticed this: if I play a music with iphone master volume for example with 4 tacks and setVolume to 0.5 then compare with 2 tacks of master volume with setVolume(1.0) the audio level is different...
This is particularly notable with low level sounds
Is it a bug?

int audioID=cocos2d::experimental::AudioEngine::play2d(pFileName,true);cocos2d::experimental::AudioEngine::setVolume(audioID, 0.5);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17078


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>