From c84ce3f41762b8038f2792187535b1ebc97178b5 Mon Sep 17 00:00:00 2001 From: getnamo Date: Mon, 29 Jan 2024 05:15:52 -0800 Subject: [PATCH] bugfix --- SocketIOClient.uplugin | 2 +- Source/CoreUtility/Private/CUBlueprintLibrary.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }