From 0af14221906a5bd8e16aff9ebb2a374bfdbaa76d Mon Sep 17 00:00:00 2001 From: myT Date: Fri, 9 Oct 2020 04:50:42 +0200 Subject: [PATCH] Windows audio output device sampling rate is now 44.1 kHz --- changelog.txt | 3 +++ code/win32/win_snd.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 06f97ee..05ba1b6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,9 @@ DD Mmm 20 - 1.53 add: r_alphaToCoverageMipBoost <0.0 to 0.5> (default: 0.125) boosts the alpha value of higher mip levels with A2C enabled, it prevents alpha-tested surfaces from fading (too much) in the distance +chg: the Windows audio output now has a sampling rate of 44.1 kHz + with this, /video won't have issues with cl_aviFrameRate 60 anymore + chg: with r_backend GL3, depth fade with MSAA now requires GLSL 4.00 at a minimum depth access is now correctly multi-sampled (less aliasing) and performance has improved as well diff --git a/code/win32/win_snd.cpp b/code/win32/win_snd.cpp index e99c646..fd93f1b 100644 --- a/code/win32/win_snd.cpp +++ b/code/win32/win_snd.cpp @@ -139,7 +139,7 @@ static qbool SNDDMA_InitDS() // create the secondary buffer we'll actually work with dma.channels = 2; dma.samplebits = 16; - dma.speed = 22050; + dma.speed = 44100; memset (&format, 0, sizeof(format)); format.wFormatTag = WAVE_FORMAT_PCM;