Fix typo. close #682
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user