Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WASAPI on HDMI device first 1/4 second or so skipped in stereo only (Read 2097 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Hi,
I got a brand new Pioneer Elite receiver and all seemed OK running Foobar through NVidia HDMI out in wasapi mode, until I realized that when I switch tracks it skips about 1/4 of a second. The visualizations show it's working but sound comes slightly delayed. I understand this may be normal when you switch sample rates or formats, but no, this happens with same track, same album, same sample rate. Also, seek is clumsy, takes a about 1/4 s. to go where you point it. Wait, there is more: if I use a 5.1 file, all is flawless, start and seek. Perfect. Does that only with stereo sources. Super annoying.
I downloaded a trial of JRiver and made sure there is no silence before tracks played for hardware sync, reproduced all settings from Foobar there and this doesn't happen.
Can someone help me out here? Am I looking at returning the Pioneer or is it something in Foobar?

Thanks,
Daniel

P.S.: I played with the buffers and the latency of WASAPI, tried both push and event mode, used a setting on the Pioneer to fix HDMI to PCM (does only play stereo PCM) and it still happens.

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #1
Have you checked settings in Nvidia Control Panel and Windows Sound Settings ?

Cheers

 

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #2
Have you checked settings in Nvidia Control Panel and Windows Sound Settings ?

Cheers
Yes, I think so. The weird thing is that it works well with 5.1 material in Foobar and works well in stereo as well, but in JRiver. I think it's something in the WASAPI Foobar plugin. It's weird, you would think 5.1 would be more data, more latency, etc. But it behaves exactly the other way.

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #3
Perhaps the device always wants 5.1 signal. You can try if this quick edit of my downmixer component set to 5.1 mode helps. Normally this component would only downmix but this edited version pads missing channels with silence so the output is always the chosen channel count.

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #4
Perhaps the device always wants 5.1 signal. You can try if this quick edit of my downmixer component set to 5.1 mode helps. Normally this component would only downmix but this edited version pads missing channels with silence so the output is always the chosen channel count.

Hi, trying now! Seems to work just fine! OK, maybe it expects 5.1 or 7.1. However, how come JRiver does not behave the same, sending a pure stereo signal? Is there a chance I could get a copy of the previous WASAPI component, 3.2.3, maybe? On the current one apparently there was some work done to accommodate Windows USB drivers. And those deal with mostly stereo, could it be the culprit?

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #5
You can use foo_dsp_pregap - https://foobar.hyv.fi/?view=foo_dsp_pregap Playback start will still be delayed but no audio will be lost.

Re: WASAPI on HDMI device first 1/4 second or so skipped in stereo only

Reply #6
UPDATE!!!
I reinstalled the old Sony unit I had in there to see how it would behave. And there is NO seconds missed, except on sample rate and format change (that is normal), seek is not clumsy. The Sony is older (2015), and to be honest I didn't care how it behaved because I initially got it for testing for 5.1. Oh well, this Pioneer unit will be returned.
Thank you all for the assistance!
Dan