This commit is contained in:
suyl
2021-07-09 18:11:19 +08:00
parent 50b1b8b31f
commit 4f4414d4f3

View File

@@ -479,7 +479,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
allLen = "0" + allLen
}
soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2))
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0101"+hexPrefixStr)
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr)
}
}
}