Fix debug assertion in AudioDevice constructor #24
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue