Created
January 5, 2023 05:43
-
-
Save ZachBacon/f3fb982804737d6c233a0ecfce03af29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:31:14: error: no member named 'GetDeviceCount' in 'IXAudio2' | |
hr = xa->GetDeviceCount(&dev_count); | |
~~ ^ | |
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:40:22: error: no member named 'GetDeviceDetails' in 'IXAudio2' | |
hr = xa->GetDeviceDetails(i, &dd); | |
~~ ^ | |
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:65:10: error: no matching function for call to 'XAudio2Create' | |
hr = XAudio2Create(&xa, flags); | |
^~~~~~~~~~~~~ | |
C:/msys64/clang64/include/XAudio2.h:6211:16: note: candidate function not viable: requires 3 arguments, but 2 were provided | |
HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); | |
^ | |
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:349:10: error: no matching function for call to 'XAudio2Create' | |
hr = XAudio2Create(&xaud, flags); | |
^~~~~~~~~~~~~ | |
C:/msys64/clang64/include/XAudio2.h:6211:16: note: candidate function not viable: requires 3 arguments, but 2 were provided | |
HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); | |
^ | |
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:379:9: error: cannot initialize a parameter of type 'LPCWSTR' (aka 'const wchar_t *') with an rvalue of type 'int' | |
XA2GetDev(xaud), | |
^~~~~~~~~~~~~~~ | |
C:/msys64/clang64/include/XAudio2.h:5992:17: note: passing argument to parameter 'DeviceId' here | |
LPCWSTR DeviceId = 0, | |
^ | |
C:/msys64/home/wowza/visualboyadvance-m/src/wx/xaudio2.cpp:401:20: error: no member named 'GetDeviceDetails' in 'IXAudio2' | |
hr = xaud->GetDeviceDetails(0, &dd); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment