Hydrogenaudio Forums

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: radiator27 on 13 February, 2012, 11:17:09 AM

Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: radiator27 on 13 February, 2012, 11:17:09 AM
Hi

I'm using the latest WASAPI output plugin, ATI Radeon HD 5750 HDMI to Denon 1911 Receiver (computer is running Windows 7 Home Premium, 64 bit)

With foobar version 1.1.11 there is no playback when switching to a flac-file with a different samplerate than the previous - e.g. playing a 44.1 kHz flac and selecting a 96 kHz flac. I have to click on the new file several times before the new file will play.
If i use the Direct Sound output the problem goes away. And if I downgrade to foobar version 1.1.10 the problem also goes away, so i suspect that foobar version 1.1.11 does not report a proper output format every time a new file is selected. Maybe this is related to the new cross-fade functionality, that somehow breaks WASAPI output samplerate change?

My solution so far is to stay with version 1.1.10, but I hope that this can be fixed in a future version. :-)
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: kode54 on 13 February, 2012, 11:31:24 AM
Cross fading is specific to DirectSound output.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: bacondither on 13 February, 2012, 04:13:52 PM
I have the same problem with version 1.1.11 and WASAPI but the problem goes away with 1.1.10 + WASAPI.
I use S/PDIF out if that makes any difference.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Jackal29a on 14 February, 2012, 03:53:19 PM
I thought neither of my Xonar cards (ST & D2X, W7 SP1 x86, Unixonar 1.51) played 88.2 or 176.4KHz files using WASAPI 2.1 due to driver limitations but today using the trial version of a well know media player I found that those frquencies are indeed supported in WASAPI or even WASAPI Event Style by both the cards and the driver. Is there a chance Foobar's WASAPI plugin can be changed so it works with the above combination?

Cheers
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: WarZard-X on 18 February, 2012, 01:21:29 PM
I have exactly the same problem with 1.1.11 and WASAPI. If I switch to the next track, with a different samplerate, the track doesn't play.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: WarZard-X on 22 February, 2012, 11:53:33 AM
Does no one else have this problem with Wasapi & 1.1.11? This can't be. 
Will it be fixed in 1.1.12?
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: blindpainkiller on 22 February, 2012, 01:43:54 PM
I have the same problem. Also, I more often than not hear a distinct "pop" when I switch tracks, no matter what sample rate. Both these problems started in 1.1.11 and only happen with WASAPI.
I run foobar on Vista 32bit on a Xonar Essence STX.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: gfh on 16 March, 2012, 09:19:06 AM
Confirm.
AMD Radeon 6950 HDMI to Denon 1912 Receiver, Win7 SP1 x64
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Sandrine on 25 March, 2012, 06:38:59 AM
1.1.12 beta1 is out, all testers to the fore
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: radiator27 on 26 March, 2012, 03:55:13 AM
Unfortunately version 1.1.12 beta 2 does not solve the problem. :-(

I have also tested both version 1.1.11 and 1.1.12 on a completely different system with a soundblaster audigy 2 ZS platinum pro sound card, windows 7 x64, WASAPI output, and also here the problem exists, while foobar 1.1.10 works like a charm.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Sandrine on 26 March, 2012, 02:50:48 PM
You should report this, it's not assured that the programmers browse all forums.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Mr.Ferrari on 27 March, 2012, 01:07:58 AM
Same problem here with both 1.11 & 1.12beta + WASAPI. Maybe it's time to integrate WASAPI to foobar as well.
I can play files with different samplerates, but when I try to play the song the first time nothing happens, and if I click it again it will change samplerate and play the song, but I want it to work like in previous releases.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Kohlrabi on 27 March, 2012, 03:35:37 AM
In the meantime, try ASIO if you need to feed bit-perfect data to your external receivers or decoders. If not, just stick to DirectSound. Volume control works nowadays even with the broken ASUS drivers.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Mr.Ferrari on 27 March, 2012, 11:21:06 AM
In the meantime, try ASIO if you need to feed bit-perfect data to your external receivers or decoders. If not, just stick to DirectSound. Volume control works nowadays even with the broken ASUS drivers.

I don't want to use ASIO because it's very slow with on my DAC. Wasapi works like a charm.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Dakeryas on 27 March, 2012, 12:41:00 PM
Same problem here on an Audinst HUD USB Dac. I always need two clicks.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Mr.Ferrari on 30 March, 2012, 10:54:04 AM
Could any developer please say something. So we know that you know the problem, and if it's going to be fixed or not.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: WarZard-X on 30 April, 2012, 05:32:11 AM
Will this ever be fixed?
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Peter on 30 April, 2012, 07:19:23 AM
Problem acknowledged, thanks for reporting. Unfortunately I don't currently have time to deal with it, you'll have to wait till the next major update of the WASAPI component; I cannot promise any timeline right now.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: MaCs on 11 May, 2012, 08:32:25 AM
I don't think it is WASAPI-related. I have exactly the same problem with ASIO. Reinstaling v1.1.10 also solved my problem.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: bsw11 on 11 May, 2012, 08:05:24 PM
I have the same or similar problem switching between and mp3 into a flac multi-channel and also the reverse.  I am using WASAPI with HDMI out on an ACER 1830T.

This really needs fixing Peter.  It makes it impossible to inter-mix different types of tracks on a playlist and live to enjoy it.  :-)

You can fix this very quickly in the main player by actually doing a stop and play at the end of the track - if you detect that the next track is a different type (I am not sure on the sample rate causation - that does not happen to me - If I change types it hangs until I click to play again - maybe I have not tried different sample rates.  Either way that logic could be deployed or possibly its a timing issue.  I would think it is simple enough to reproduce.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: db1989 on 12 May, 2012, 03:36:16 AM
This really needs fixing Peter.
Since Peter said that “you'll have to wait till the next major update of the WASAPI component”, have you tried that (http://www.hydrogenaudio.org/forums/index.php?showtopic=94907)?
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: bsw11 on 12 May, 2012, 01:13:02 PM
This really needs fixing Peter.
Since Peter said that “you'll have to wait till the next major update of the WASAPI component”, have you tried that (http://www.hydrogenaudio.org/forums/index.php?showtopic=94907)?

Now that is what I call QUICK!!!  It works PERFECTLY!!!

That leave me with one question/request - Is there any way of causing a playlist to play only files with a given star rating value - I have huge playlists (2000+) for just a month and I make the better tracks by staring them.  It would be nice to just set a mode in playback to only play songs with x stars set within the playlist (I know how to do a search against the whole media set). 

If its not doable - it would make a great feature.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: WarZard-X on 13 May, 2012, 01:03:10 PM
Finally it's fixed with Wasapi Plugin 3.0 beta 1.