【发布时间】:2013-03-18 22:35:06
【问题描述】:
我有几行。
第 2 行已记录在案。
第一行越界了,它确实有效。
尽管文档和其他 QA 说范围是 0f 到 1f :
在更高的音量上,比如 20、30;确实增加了音效的音量。所以它起作用了。
正常吗?或者可能是一个错误? 如果我使用超出文档中给出的范围可能会很危险吗?例如:setEffectsVolume:15f 而不是 0f-1f 范围?
//this is undocumented also out of bounds,somehow really increases volume to 6x.
1. [SimpleAudioEngine sharedEngine].effectsVolume=6.0f;
//this is normal because inbounds of range
2. [SimpleAudioEngine sharedEngine].effectsVolume=.2;
【问题讨论】:
标签: audio cocos2d-iphone range volume simpleaudioengine