From b2a96cca77cee9bde4476aa5d86634abc392755c Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Sat, 7 Dec 2024 11:29:15 -0600 Subject: [PATCH] Adding debug for audio device initialization for debugging on Windows 11 --- src/Qt/AudioPlaybackThread.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Qt/AudioPlaybackThread.cpp b/src/Qt/AudioPlaybackThread.cpp index 4ad6d8254..a85348f31 100644 --- a/src/Qt/AudioPlaybackThread.cpp +++ b/src/Qt/AudioPlaybackThread.cpp @@ -85,6 +85,9 @@ namespace openshot for (const auto n : t->getDeviceNames()) { AudioDeviceInfo device = { t->getTypeName(), n.trim() }; devices.push_back(device); + std::stringstream device_debug; + device_debug << "AudioDeviceManagerSingleton::Instance (iterate audio device name: " << device.name << ")"; + ZmqLogger::Instance()->AppendDebugMethod(device_debug.str(), "rate", rate, "channels", channels); } }