Skip to main content

Topic: Pauses During Playback of Wavpack Files (Read 1669 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Pauses During Playback of Wavpack Files
I'm running foobar2000 on Windows 7 Home 64-bit, with no additional components installed.  My entire library consists of lossless Wavpack files.

Ever since I upgraded from 1.2 to 1.2.1, I've consistently noticed 3-4 second pauses at the beginning of tracks.  Playback starts for an instant (i.e., the bars in the visualization box start to move), then the program freezes for several seconds.

The glitch only seems to surface when the program has been sitting undisturbed for a while.  That is, a track has been playing for several minutes, or several tracks have played in sequence (I have both "playback follows cursor" and "cursor follows playback" enabled), or nothing has been playing, and I then go and double-click on another track. 

However, when I try to reproduce the problem immediately afterwards (e.g., by rapidly switching from track to track), the program behaves normally.  It has to sit undisturbed for a few minutes before the issue appears.

I tried using Process Explorer, but no thread appears to go above 1-2% CPU usage.  Upgrading to 1.2.2 has had no effect. 

I noticed that the "deadlock detection feature" was disabled in 1.1.18 - could this issue be related?  Any thoughts?

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Pauses During Playback of Wavpack Files
Reply #1
Output method?

Have you tried increasing the output buffer length?

Is the disk your files are on very busy?
elevatorladylevitateme

Pauses During Playback of Wavpack Files
Reply #2
I'm using all the original defaults under Playback/Output (buffer set to 1000 ms).  I'm not doing much else with the machine, beyond surfing the web.

I just tried increasing the buffer all the way up to 30000 ms - no effect.
  • Last Edit: 21 January, 2013, 02:19:22 PM by db1989

  • Case
  • [*][*][*][*][*]
  • Developer (Donating)
Pauses During Playback of Wavpack Files
Reply #3
Verify that full file buffering is not enabled. The option can be found under playback section in advanced preferences.

Pauses During Playback of Wavpack Files
Reply #4
Full file buffering is set to 0 KB.
  • Last Edit: 21 January, 2013, 02:19:34 PM by db1989

  • rain22
  • [*]
Pauses During Playback of Wavpack Files
Reply #5
With flac-files I also got those gaps between tracks, only a bit shorter (0.05 sec, which gives a nice "plop", if music continues from one track to the next), as reported here:

Gapless flac playback broken after v1.1.9 until current v1.2.2
http://www.hydrogenaudio.org/forums/index....showtopic=98970

Seems to be related to all file formats. (?)

Since I keep all foobar2000 versions as separate portable install, it is easy to switch between all versions according to their working features.
So I went back to v1.1.9 for listening purposes.

  • Dandruff
  • [*][*][*][*][*]
Pauses During Playback of Wavpack Files
Reply #6
Don't have any issues with WavPack gapless playback in foobar2000 1.2.2.

  • WilB
  • [*][*][*][*]
Pauses During Playback of Wavpack Files
Reply #7
Ever since I upgraded from 1.2 to 1.2.1, I've consistently noticed 3-4 second pauses at the beginning of tracks.  Playback starts for an instant (i.e., the bars in the visualization box start to move), then the program freezes for several seconds.

The glitch only seems to surface when the program has been sitting undisturbed for a while.  That is, a track has been playing for several minutes, or several tracks have played in sequence (I have both "playback follows cursor" and "cursor follows playback" enabled), or nothing has been playing, and I then go and double-click on another track. 

However, when I try to reproduce the problem immediately afterwards (e.g., by rapidly switching from track to track), the program behaves normally.  It has to sit undisturbed for a few minutes before the issue appears.

This is an exact description of a problem I have with foobar20001.2.2 and various file formats including flac with foobar2000 failing to respond for up to 30 seconds. This is with a windows 8 64 bit machine. The problem can occur at the start of track playback or part-way through. Although the display locks up, music playback is not interrupted. The extent of the problem seems to be related to the number of third party components installed especially those displaying images. Removing components individually failed to identify a specific one as the cause.  Rather it seems to be general load causing a deadlock. One of the components that contributes to the problem is WSH panel mod 1.5.6, which is not on the problematical components list. With simple default UI or columns UI set-ups there is no problem. I also did not notice any problems when the problematical configurations were previously used on a much slower XP SP3 machine.

Increasing the output buffer size, using full file buffering and changing the thread priority made no difference to the issue. I could not see anything useful in process explorer with cpu usage remaining low. The problem still occurs if foobar2000 is the only program running. The output method is directsound and the issue occurs with both USB audio out and optical out. The disk is not busy and the pc passed a range of hardware tests. Drivers are up to date.

Perhaps a mod could change the title of this thread to reflect a more general issue.
  • Last Edit: 29 January, 2013, 04:00:26 PM by WilB