Fix typo. close #682

This commit is contained in:
安正超
2017-01-20 12:47:50 +08:00
committed by GitHub
parent c678d198e4
commit e86602b95c

View File

@ -386,7 +386,7 @@ struct AudioChannel {
var currentLevel: Int = 0 { var currentLevel: Int = 0 {
didSet { didSet {
if currentLevel > AudioChannel.thresholdLevel { if currentLevel > AudioChannel.thresholdLevel {
// 将当前音量限制在值之内 // 将当前音量限制在值之内
currentLevel = AudioChannel.thresholdLevel currentLevel = AudioChannel.thresholdLevel
} }
if currentLevel > AudioChannel.maxInputLevelForAllChannels { if currentLevel > AudioChannel.maxInputLevelForAllChannels {