Commit 8987711b authored by David Reid's avatar David Reid

Give DirectSound priority over WASAPI for now.

parent e4fc7599
...@@ -491,8 +491,8 @@ struct mal_device ...@@ -491,8 +491,8 @@ struct mal_device
// //
// <backends> is used to allow the application to prioritize backends depending on it's specific // <backends> is used to allow the application to prioritize backends depending on it's specific
// requirements. This can be null in which case it uses the default priority, which is as follows: // requirements. This can be null in which case it uses the default priority, which is as follows:
// - WASAPI
// - DirectSound // - DirectSound
// - WASAPI
// - ALSA // - ALSA
// - OpenSL|ES // - OpenSL|ES
// - Null // - Null
...@@ -4131,8 +4131,8 @@ mal_result mal_context_init(mal_backend backends[], mal_uint32 backendCount, mal ...@@ -4131,8 +4131,8 @@ mal_result mal_context_init(mal_backend backends[], mal_uint32 backendCount, mal
mal_zero_object(pContext); mal_zero_object(pContext);
static mal_backend defaultBackends[] = { static mal_backend defaultBackends[] = {
mal_backend_wasapi,
mal_backend_dsound, mal_backend_dsound,
mal_backend_wasapi,
mal_backend_alsa, mal_backend_alsa,
mal_backend_sles, mal_backend_sles,
mal_backend_null mal_backend_null
......
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