1 (edited by ikonomov 2022-05-26 05:48:05)

Topic: [FIXED] crackling with WASAPI driver using 22050Hz source material

Has anybody noticed anything unusual on playback when using the WASAPI driver playing 22050Hz sound files?  When I first experienced this and was able to reproduce it consistently the last thing I thought could be the cause was something to do with Babyface, but I don't get this issue when I switch the output to Realtek that's build into the motherboard.  Any thoughts?

FIXED: https://forum.rme-audio.de/viewtopic.ph … 75#p187975

2

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

What is the sample rate on the BF when playing such a file? Make sure it is at least 44.1 kHz and don't use WASAPI, it might prevent correct resampling.

Regards
Matthias Carstens
RME

3 (edited by ikonomov 2022-04-17 07:06:55)

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

The sample rate on BF is set to 48 kHz with 1024 Samples Buffer.  2048 results in the same behavior.  The source material is from a game that uses SDL2 https://github.com/libsdl-org/SDL to pass the sound to the WASAPI.  MME is also possible with SDL2, but it results in long sound delays unsuitable for a game.

4

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

Please try 128 samples Buffer Size set in RME Settings dialog, then start the game.

Regards
Matthias Carstens
RME

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

I think with 128 samples buffer it might be slightly improved, but I'm not sure.  It is hard to record exactly when it's very loud and easy to hear, because it happens randomly, but even when it's not detectible it is still visible on the frequency spectrum.

RME BF, 48000 Hz, 128 buffer:
https://i.imgur.com/f5RgEbi.jpg

Realtek, 48000 Hz:
https://i.imgur.com/i12o3Yo.jpg

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

I wonder, what can cause this behavior when there is resampling with WASAPI, is this something specific to this low sampling rate of 22050Hz?  I don't believe I've encountered this before when playing back 44.1kHz material resampled to 48kHz using WASAPI and if there was it would be well known.

Re: [FIXED] crackling with WASAPI driver using 22050Hz source material

It turned out that the problem came from the original Audio processing objects (APO) that Windows is using.  Following this link https://www.audiosciencereview.com/foru … ate.19438/ and setting the configuration to what is outlined in "Summary Recommendations:" and installing Equalizer APO has resolved the problem for me.

RME BF, 96000 Hz, 256 buffer (Nvidia ShadowPlay software recorder is resampling to 48kHz, but the output is set to 96kHz):
https://i.imgur.com/eRGwjKJ.jpg