1
This commit is contained in:
@@ -520,7 +520,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
|
||||
//soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2))
|
||||
//result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr)
|
||||
result = strings.ReplaceAll(result, sound, "")
|
||||
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+voice)
|
||||
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+"02"+voice)
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user