Head-Fi.org › Forums › Equipment Forums › Computer Audio › Foobar 2K and sample rate switches - leaves audio cut off after switch.
New Posts  All Forums:Forum Nav:

Foobar 2K and sample rate switches - leaves audio cut off after switch.

post #1 of 6
Thread Starter 

Ok so I am having problems with Foobar. I have a DAC that handles multiple sample rates and switches between them based on the sample rate of the source material.

 

In Foobar I am using WASAPI even style, and have all DSP settings turned off. The problem I am experiencing is when I play a song that has a different sample rate than what was playing previously, my DAC switches, but Foobar does not wait for it to switch and immediately starts playback as my DAC is switching. This leaves the first few seconds of the song cut off.

 

This happens either when

 

--I had previously played a bunch of songs at one sample rate and then in a new listening session put on songs with a different sample rate.

 

OR

 

--When I have songs in a playlist with different sample rates.

 

I had used Audirvana on my Mac previously and it had a setting called "Sample Rate Switching Latency" that would delay playback for a few seconds after a sample rate switch in order to prevent problems just like this.

 

Does anyone have a solution? Because currently my only solution is to start playback to get the sample rate to switch, stop playback, and then restart playback now that the DAC has switched. Obviously this does not fix the problem of having different sample rates in one playlist.

 

Thanks,

Hank.

post #2 of 6

So it's basically a problem with the hardware, because any added delay would break foobar's gapless playback.

 

Right now I can only think of one thing: try increasing the buffer size to at least twice the needed switching delay.

 

Also try changing the Advanced - Playback - WASAPI - Hardware buffer in ms. Could also try push mode instead of event.

 

 

If that doesn't work try the sox resampler plugin. It really is excellent.


Edited by xnor - 7/22/13 at 3:39pm
post #3 of 6

just upsample everything like a proud barbarian.

post #4 of 6
Quote:
Originally Posted by castleofargh View Post

just upsample everything like a proud barbarian.

Barbaric.

post #5 of 6
Thread Starter 

I suppose it is a "problem" with my hardware, however, its hard to call the PWD Mk II a problematic DAC.

I could upsample everything with my DAC, but then wouldn't I loose the "digital lens" feature that makes the PWD mkII's USB so great?

 

I just wish foobar could send the sample rate switch before it started streaming audio. Every player that I have used on Mac does not have this problem. 

post #6 of 6

So have you tried adjusting buffers?

 

Btw, does the same problem happen with ASIO?

New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Computer Audio
Head-Fi.org › Forums › Equipment Forums › Computer Audio › Foobar 2K and sample rate switches - leaves audio cut off after switch.