forked from MoonsideGames/MoonWorks
Fix debug assertion in AudioDevice constructor (#25)
Let's try this again... Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com> Reviewed-on: MoonsideGames/MoonWorks#25 Co-authored-by: TheSpydog <thespydog@noreply.example.org> Co-committed-by: TheSpydog <thespydog@noreply.example.org>custom_video_shaders
parent
0933b8e70f
commit
eb8c350a47
|
@ -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