Skip to content

Commit

Permalink
Adding debug for audio device initialization for debugging on Windows 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Dec 7, 2024
1 parent 09ca2ce commit b2a96cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Qt/AudioPlaybackThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit b2a96cc

Please sign in to comment.