Fix debug assertion in AudioDevice constructor

pull/25/head
Caleb Cornett 2022-08-25 23:43:01 -04:00 committed by Gitea
parent 0933b8e70f
commit 56a4af4d03
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace MoonWorks.Audio
public unsafe AudioDevice() public unsafe AudioDevice()
{ {
FAudio.FAudioCreate(out var handle, 0, 0); FAudio.FAudioCreate(out var handle, 0, FAudio.FAUDIO_DEFAULT_PROCESSOR);
Handle = handle; Handle = handle;
/* Find a suitable device */ /* Find a suitable device */