More cleanup (PR #1357)

SoundBuffer: move Windows only flags to DXSoundBuffer.
Remove out of date _MSC_VER checks (pre-VS2019).
This commit is contained in:
Andrea
2025-01-04 12:35:31 +00:00
committed by GitHub
parent d7918d9ac9
commit 3a3663d9d6
16 changed files with 17 additions and 77 deletions
+2 -2
View File
@@ -632,7 +632,7 @@ std::shared_ptr<NetworkBackend> Win32Frame::CreateNetworkBackend(const std::stri
return backend;
}
std::shared_ptr<SoundBuffer> Win32Frame::CreateSoundBuffer(DWORD dwFlags, DWORD dwBufferSize, DWORD nSampleRate, int nChannels, LPCSTR pDevName)
std::shared_ptr<SoundBuffer> Win32Frame::CreateSoundBuffer(uint32_t dwBufferSize, uint32_t nSampleRate, int nChannels, const char* pszVoiceName)
{
return DXSoundBuffer::create(dwFlags, dwBufferSize, nSampleRate, nChannels);
return DXSoundBuffer::create(dwBufferSize, nSampleRate, nChannels);
}