mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
fix compiler warnings
This commit is contained in:
1 parent
b10f5f842a
commit
de3abcf579
4 files changed
+5
-5
No files matched your search
@@ -218,14 +218,14 @@ bool WASAPIContext::InitOutputDevice(std::string_view uniqueId, LatencyMode late
|
||||
} else if (result == S_FALSE) {
|
||||
// We got another format. Meh, let's just use what we got.
|
||||
if (closestMatch) {
|
||||
WARN_LOG(Log::Audio, "Didn't get the format we wanted, but got: %d ch=%d", closestMatch->nSamplesPerSec, closestMatch->nChannels);
|
||||
WARN_LOG(Log::Audio, "Didn't get the format we wanted, but got: %lu ch=%d", closestMatch->nSamplesPerSec, closestMatch->nChannels);
|
||||
CoTaskMemFree(closestMatch);
|
||||
} else {
|
||||
WARN_LOG(Log::Audio, "Failed to fall back to two channels. Using workarounds.");
|
||||
}
|
||||
createBuffer = true;
|
||||
} else {
|
||||
WARN_LOG(Log::Audio, "Got other error %08x", result);
|
||||
WARN_LOG(Log::Audio, "Got other error %08lx", result);
|
||||
_dbg_assert_(!closestMatch);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user