HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: radiator27 on 2012-02-13 16:17:09

Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: radiator27 on 2012-02-13 16:17:09
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 2012-02-13 16:31:24
Cross fading is specific to DirectSound output.
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: bacondither on 2012-02-13 21:13:52
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 2012-02-14 20:53:19
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 2012-02-18 18:21:29
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 2012-02-22 16:53:33
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 2012-02-22 18:43:54
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 2012-03-16 13:19:06
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 2012-03-25 11:38:59
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 2012-03-26 08:55:13
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 2012-03-26 19:50:48
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 2012-03-27 06:07:58
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 2012-03-27 08:35:37
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 2012-03-27 16:21:06
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 2012-03-27 17:41:00
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 2012-03-30 15:54:04
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 2012-04-30 10:32:11
Will this ever be fixed?
Title: Foobar 1.1.11, WASAPI and playback of files with different samplerates
Post by: Peter on 2012-04-30 12:19:23
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 2012-05-11 13:32:25
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 2012-05-12 01:05:24
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 2012-05-12 08:36:16
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 2012-05-12 18:13:02
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 2012-05-13 18:03:10
Finally it's fixed with Wasapi Plugin 3.0 beta 1.