diff --git a/SocketIOClient.uplugin b/SocketIOClient.uplugin index 6e16f8f..22b3d32 100644 --- a/SocketIOClient.uplugin +++ b/SocketIOClient.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "2.7.5", + "VersionName": "2.7.6", "EngineVersion": "5.3", "FriendlyName": "Socket.IO Client", "Description": "Real-time WebSocket networking via Socket.IO protocol usable from blueprints and c++.", diff --git a/Source/CoreUtility/Private/CUBlueprintLibrary.cpp b/Source/CoreUtility/Private/CUBlueprintLibrary.cpp index 93fa23b..ecb29cc 100644 --- a/Source/CoreUtility/Private/CUBlueprintLibrary.cpp +++ b/Source/CoreUtility/Private/CUBlueprintLibrary.cpp @@ -146,7 +146,7 @@ TArray UCUBlueprintLibrary::Conv_OpusBytesToWav(const TArray& InBy TArray UCUBlueprintLibrary::Conv_PCMToWav(const TArray& InPCM, int32 SampleRate, int32 Channels) { TArray WavBytes; - SerializeWaveFile(WavBytes, InPCM.GetData(), InPCM.Num(), Channels, Channels); + SerializeWaveFile(WavBytes, InPCM.GetData(), InPCM.Num(), Channels, SampleRate); return WavBytes; }