IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
1.1.13, playback may hang on 0:00 after double click
stickfish
post Jun 20 2012, 04:09
Post #1





Group: Members
Posts: 5
Joined: 23-May 09
Member No.: 70049



Using WASAPI with a USB DAC (PCM2707) and 1.1.13, music playing, when I double click on a different music file, the current song stops, foobar opens the double clicked song, playing arrow appears next to the song on the playlist, but sometimes the playback is stuck on 0:00. File format does not seem to matter, I was able to reproduce with mp3, flac, and tta. Pressing play or double clicking again will start playing. Clicking on the seek bar does not skip to that part of the song. Problem can happen on the same or different playlist. No errors found in console, with the last entry being "Opening track for playback: *." Sleeping HDD does not wake up, so the program isn't accessing the HDD. The music files reside on the main OS drive, which is an SSD, and I was able to reproduce with files on a separate HDD. If left alone playing, there are no problems, but I haven't played music for an extended period yet.

I have had no issues when I installed Windows 7 in March, so I assume the version I was using is 1.1.11. I feel that it may be an issue with communication between foobar and the USB DAC. Or maybe something up with file buffering, which I currently set to 8GB so it fills up the cache in RAM (fb2k's memory usage is usually never above 1GB, depending on whether the portion or whole file is cached) and prevents waking up the HDD, which does work to an extent.

Apparently there's a 3.0 beta for WASAPI, maybe I'll give that a try.

CODE
Windows 7 SP1, with most of the recent upgrades installed, foobar2000 updated once from 11 to 13
Component list:
Core (2012-06-07 18:37:46 UTC)
foobar2000 core 1.1.13
foo_albumlist.dll (2012-06-07 18:36:18 UTC)
Album List 4.5
foo_cdda.dll (2012-06-07 18:36:12 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2012-06-07 18:35:52 UTC)
Converter 1.5
foo_dsp_std.dll (2012-06-07 18:36:20 UTC)
Standard DSP Array 1.0
foo_fileops.dll (2012-06-07 18:35:14 UTC)
File Operations 2.1.3
foo_input_std.dll (2012-06-07 18:35:58 UTC)
Standard Input Array 1.0
foo_input_tak.dll (2010-01-10 01:11:58 UTC)
TAK Decoder 0.4.4
foo_input_tta.dll (2010-10-27 17:50:20 UTC)
TTA Audio Decoder 3.2
foo_out_asio.dll (2012-02-04 20:59:56 UTC)
ASIO support 2.1.1
foo_out_wasapi.dll (2009-05-20 04:45:18 UTC)
WASAPI output support 2.1
foo_rgscan.dll (2012-06-07 18:35:56 UTC)
ReplayGain Scanner 2.1.2
foo_ui_std.dll (2012-06-07 18:36:16 UTC)
Default User Interface 0.9.5
foo_unpack.dll (2012-06-07 18:35:28 UTC)
ZIP/GZIP/RAR Reader 1.6
foo_unpack_7z.dll (2011-08-14 00:27:58 UTC)
7-Zip reader 1.8
Go to the top of the page
+Quote Post
Kohlrabi
post Jun 20 2012, 08:15
Post #2





Group: Super Moderator
Posts: 1004
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



QUOTE (stickfish @ Jun 20 2012, 05:09) *
Using WASAPI with a USB DAC (PCM2707) and 1.1.13

Please test with DirectSound output. If this only happens with WASAPI, this problem belongs into a WASAPI thread, which leads to...
QUOTE (stickfish @ Jun 20 2012, 05:09) *
Apparently there's a 3.0 beta for WASAPI, maybe I'll give that a try.

I'd strongly suggest to try the beta version, which supposedly fixes a lot of problems for most users, especially USB DAC users.

This post has been edited by Kohlrabi: Jun 20 2012, 08:16


--------------------
Audiophiles live in constant fear of jitter.
Go to the top of the page
+Quote Post
stickfish
post Jun 25 2012, 23:22
Post #3





Group: Members
Posts: 5
Joined: 23-May 09
Member No.: 70049



Haven't run into problems with the beta yet, but I'll report back if I encounter problems. Now I'm running into ASIO4ALL (2.11 beta 1) and timeout problems, which I believe is similar to my original problem.

Event-driven WASAPI also gives clicks when I browse directories in Explorer, whenever a sound file plays.

This post has been edited by stickfish: Jun 25 2012, 23:23
Go to the top of the page
+Quote Post
Kohlrabi
post Jun 26 2012, 09:06
Post #4





Group: Super Moderator
Posts: 1004
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



QUOTE (stickfish @ Jun 26 2012, 00:22) *
Now I'm running into ASIO4ALL (2.11 beta 1) and timeout problems, which I believe is similar to my original problem.

There is virtually no reason to use ASIO, especially not ASIO4ALL, if WASAPI or DirectSound works on your system, quoth the official components page for the ASIO output component:
QUOTE
Please note that this component is meant for systems where ASIO is the only available output method. It is highly recommended to use the default output modes instead of ASIO. Contrary to popular "audiophile" claims, there are NO benefits from using ASIO as far as music playback quality is concerned, while bugs in ASIO drivers may severely degrade the performance.



--------------------
Audiophiles live in constant fear of jitter.
Go to the top of the page
+Quote Post
stickfish
post Jun 27 2012, 01:13
Post #5





Group: Members
Posts: 5
Joined: 23-May 09
Member No.: 70049



I like ASIO4ALL and 2048 samples buffer, simply because the spectrum visualization's bars are much more snappier compared to regular DirectSound/WASAPI. It's nice to look at every now and then, especially if I ever have thoughts of including a bigger spectrum in a custom layout/theme for fb2k.

Back in March, my newly built desktop (i5-2500K rig) had problems with WASAPI causing one of my CPU cores to spike close to 100% for 1-3 seconds every 15-120 seconds. Using ASIO wasn't as bad, with smaller spikes happening every 15 seconds. Disabling HPET brings the spikes to much more manageable levels for both WASAPI and ASIO. For non-custom computers affected by this and are unable to turn off HPET due to BIOS restrictions, I fear that this may be an issue. I still need to experiment and test with other recent computers.
Go to the top of the page
+Quote Post
stickfish
post Jul 19 2012, 16:22
Post #6





Group: Members
Posts: 5
Joined: 23-May 09
Member No.: 70049



Just reporting that the problem is still present with the beta WASAPI. This time, the seek box cursor (to jump to a particular time) is flashing repeatedly at 0:00, suggesting constant file loading. Nothing in console reflects this, only a single playback entry. This is with 1.1.13 final.
Go to the top of the page
+Quote Post
hkwong
post Jul 26 2012, 17:29
Post #7





Group: Members
Posts: 6
Joined: 26-July 12
Member No.: 101778



I also have this problem, my sound card is 0404usb
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th July 2014 - 07:27