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
parent
0933b8e70f
commit
eb8c350a47
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue