From 56a4af4d037f46f745b933ad82b4568a1b40ab7a Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Thu, 25 Aug 2022 23:43:01 -0400 Subject: [PATCH] Fix debug assertion in AudioDevice constructor --- 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 */ -- 2.25.1