FAudio qoa API update
parent
c284037c62
commit
56b33c6f9b
|
@ -1 +1 @@
|
|||
Subproject commit f065a5519fa2a1020eb971c0da66c877f2a97f18
|
||||
Subproject commit aaf2568c3e5b202c5cfbd74734386e69f204482c
|
|
@ -205,7 +205,7 @@ namespace MoonWorks.Audio
|
|||
fileStream.ReadExactly(fileDataSpan);
|
||||
fileStream.Close();
|
||||
|
||||
var qoaHandle = FAudio.qoa_open_memory((char*) fileDataPtr, (uint) fileDataSpan.Length);
|
||||
var qoaHandle = FAudio.qoa_open_from_memory((char*) fileDataPtr, (uint) fileDataSpan.Length, 0);
|
||||
if (qoaHandle == 0)
|
||||
{
|
||||
NativeMemory.Free(fileDataPtr);
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace MoonWorks.Audio
|
|||
fileStream.ReadExactly(fileDataSpan);
|
||||
fileStream.Close();
|
||||
|
||||
var qoaHandle = FAudio.qoa_open_memory((char*) fileDataPtr, (uint) fileDataSpan.Length);
|
||||
var qoaHandle = FAudio.qoa_open_from_memory((char*) fileDataPtr, (uint) fileDataSpan.Length, 0);
|
||||
if (qoaHandle == 0)
|
||||
{
|
||||
NativeMemory.Free(fileDataPtr);
|
||||
|
|
Loading…
Reference in New Issue