Enforce wasapi as default audio backend on Windows.

Related to #774
parent f7137493
Pipeline #30294 passed with stage
in 10 minutes and 22 seconds
......@@ -470,6 +470,10 @@ void Wizard::checkMltComponents()
// MLT >= 6.6.0 and SDL2 module
KdenliveSettings::setSdlAudioBackend(QStringLiteral("sdl2_audio"));
KdenliveSettings::setAudiobackend(QStringLiteral("sdl2_audio"));
#if defined(Q_OS_WIN)
// Use wasapi by default on Windows
KdenliveSettings::setAudiodrivername(QStringLiteral("wasapi"));
#endif
} else if (consumersItemList.contains(QStringLiteral("sdl_audio"))) {
// MLT < 6.6.0
KdenliveSettings::setSdlAudioBackend(QStringLiteral("sdl_audio"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment