UWP buildfix
This commit is contained in:
parent
e95662cebf
commit
724f94f8e4
2 changed files with 2 additions and 2 deletions
|
@ -850,7 +850,7 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
|
|||
#ifdef _WIN32
|
||||
winAudioBackend = CreateAudioBackend((AudioBackendType)g_Config.iAudioBackend);
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
winAudioBackend->Init(0, &Win32Mix, 44100);
|
||||
winAudioBackend->Init(0, &NativeMix, 44100);
|
||||
#else
|
||||
winAudioBackend->Init(MainWindow::GetHWND(), &NativeMix, 44100);
|
||||
#endif
|
||||
|
|
|
@ -155,7 +155,7 @@ void XAudioBackend::PollLoop() {
|
|||
// take ownership of the data. It needs to be big enough to fit the max number of buffers we check for
|
||||
// above, which it is, easily.
|
||||
|
||||
int stereoSamplesRendered = (*callback_)((short*)&realtimeBuffer_[cursor_], readCount / 4, 16, sampleRate_);
|
||||
int stereoSamplesRendered = (*callback_)((short*)&realtimeBuffer_[cursor_], readCount / 4, sampleRate_);
|
||||
int numBytesRendered = 2 * sizeof(short) * stereoSamplesRendered;
|
||||
|
||||
XAUDIO2_BUFFER xaudioBuffer{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue