Fix debug assertion in AudioDevice constructor #25

Merged
cosmonaut merged 1 commits from TheSpydog/MoonWorks:audio-assert into main 2022-08-30 17:09:33 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -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 */