- making rtphone buildable on Windows

This commit is contained in:
2025-04-21 13:12:56 +03:00
parent 8d0c8ba4de
commit 83373cb586
11 changed files with 52 additions and 9 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#include "Agent_AudioManager.h"
#include "../engine/audio/Audio_WavFile.h"
#include "../engine/audio/Audio_Null.h"
#include "HL_String.h"
#if defined(TARGET_ANDROID)
# include "../engine/audio/Audio_Android.h"
@@ -171,7 +172,7 @@ void AudioManager::startPlayFile(int usageId, const std::string& path, AudioTarg
// Check if file exists
Audio::PWavFileReader r = std::make_shared<Audio::WavFileReader>();
#ifdef TARGET_WIN
r->open(StringHelper::makeTstring(path));
r->open(strx::makeTstring(path));
#else
r->open(path);
#endif