Windows audio output device sampling rate is now 44.1 kHz

This commit is contained in:
myT 2020-10-09 04:50:42 +02:00
parent 8adf87e7c7
commit 0af1422190
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;