0
我幾條線。
記錄第二行。
第一行超出界限它確實有效。是否可以安全使用SimpleAudioEngine的音量範圍?
儘管文件及其他質量保證的說,範圍爲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;