cmake hookup is done, there are some issues that I'll be trying to fix within faudio.cpp before it's ready for mainstream
This commit is contained in:
parent
eab039cd78
commit
99795b270d
|
@ -605,6 +605,7 @@ TARGET_LINK_LIBRARIES (
|
||||||
${DIRECTX_LIBRARIES}
|
${DIRECTX_LIBRARIES}
|
||||||
${GTK_LIBRARIES}
|
${GTK_LIBRARIES}
|
||||||
${OPENAL_LIBRARY}
|
${OPENAL_LIBRARY}
|
||||||
|
faudio
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ENABLE_FFMPEG)
|
if(ENABLE_FFMPEG)
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
// Faudio
|
// Faudio
|
||||||
#include <faudio.h>
|
#include <faudio.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
// MMDevice API
|
// MMDevice API
|
||||||
#include <mmdeviceapi.h>
|
#include <mmdeviceapi.h>
|
||||||
|
@ -60,7 +59,7 @@ bool GetFA2Devices(wxArrayString& names, wxArrayString& ids)
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
flags = FAUDIO_DEBUG_ENGINE;
|
flags = FAUDIO_DEBUG_ENGINE;
|
||||||
#endif
|
#endif
|
||||||
hr = FAudioreate(&xa, flags);
|
hr = FAudioreate(&fa, flags);
|
||||||
|
|
||||||
if (hr != S_OK) {
|
if (hr != S_OK) {
|
||||||
wxLogError(_("The FAudio interface failed to initialize!"));
|
wxLogError(_("The FAudio interface failed to initialize!"));
|
||||||
|
|
Loading…
Reference in New Issue