Fix debug assertion in AudioDevice constructor (#25)

Let's try this again...

Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Reviewed-on: #25
Co-authored-by: TheSpydog <thespydog@noreply.example.org>
Co-committed-by: TheSpydog <thespydog@noreply.example.org>
arm_test
TheSpydog 2022-08-30 17:09:32 +00:00 committed by cosmonaut
parent 0933b8e70f
commit eb8c350a47
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 */