From eb8c350a47c5c3356477e194f2a7ff155138ebbb Mon Sep 17 00:00:00 2001 From: TheSpydog Date: Tue, 30 Aug 2022 17:09:32 +0000 Subject: [PATCH] Fix debug assertion in AudioDevice constructor (#25) Let's try this again... Co-authored-by: Caleb Cornett Reviewed-on: https://gitea.moonside.games/MoonsideGames/MoonWorks/pulls/25 Co-authored-by: TheSpydog Co-committed-by: TheSpydog --- src/Audio/AudioDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Audio/AudioDevice.cs b/src/Audio/AudioDevice.cs index 27cb803..adf4b37 100644 --- a/src/Audio/AudioDevice.cs +++ b/src/Audio/AudioDevice.cs @@ -25,7 +25,7 @@ namespace MoonWorks.Audio public unsafe AudioDevice() { - FAudio.FAudioCreate(out var handle, 0, 0); + FAudio.FAudioCreate(out var handle, 0, FAudio.FAUDIO_DEFAULT_PROCESSOR); Handle = handle; /* Find a suitable device */