Didier, thank you so much for your knowledge and efforts! As I mentioned in review, this plugin changed my audio-interface usability completely! I get real audible benefits just by playing native resolutions and not having to resample all the time.
I've got 44.1, 48, 88.2, 96, 192k playback through WASAP2 mostly stable. So far can't get 176.4 right.
9 times of 10 it crashes foobar. Most times it's an instant crash, sometimes - crash after half a second of playback. When 1 of 10 trials survives - its all crackles and drop-outs (due to low buffer. see below) again followed by crash after I hit stop.
Here is my software & settings:
foobar2000 v1.3.10
foo_out_wasap2 1.1
My hardware setup:
E-MU 0204 USB audio interface (AK4396 DAC)| device granularity= 44
CPU: AMD Phenom II X4 945
output_wasap2_impl::intrinsics support : SSE = 1
output_wasap2_impl::intrinsics support : SSE2 = 1
output_wasap2_impl::intrinsics support : SSE3 = 1
output_wasap2_impl::intrinsics support : SSSE3 = 0
output_wasap2_impl::intrinsics support : SSE4.1 = 0
output_wasap2_impl::intrinsics support : SSE4.2 = 0
output_wasap2_impl::intrinsics support : SSE4a = 1
output_wasap2_impl::intrinsics support : AVX = 0
output_wasap2_impl::intrinsics support : AVX2 = 0
follow up:
for 176-192kHz I set:
sample cache factor=0(auto)
endpoint buffer size=8192
But then in console I see "Endpoint Buffer Size (sample) = 530" instead of being >8192... Why does it change to minimum? For sure sound gets distorted and clicking.
Console:
Windows 8 specific capabilities not available on this platform --> selector ignored; downgrade to Windows 7 behaviour.
Device Format(default).wFormatTag = WAVE_FORMAT_EXTENSIBLE
Device Format(default).nChannels =2
Device Format(default).nSamplesPerSec =176400
Device Format(default).nAvgBytesPerSec =1058400
Device Format(default).nBlockAlign =6
Device Format(default).wBitsPerSample =24
Device Format(default).cbSize =22
Device Format(default).Samples.wValidBitsPerSample =24
Device Format(default).Samples.wSamplesPerBlock =24
Device Format(default).dwChannelMask =3
Device Format(set for track).wFormatTag = WAVE_FORMAT_EXTENSIBLE
Device Format(set for track).nChannels =2
Device Format(set for track).nSamplesPerSec =176400
Device Format(set for track).nAvgBytesPerSec =1411200
Device Format(set for track).nBlockAlign =8
Device Format(set for track).wBitsPerSample =32
Device Format(set for track).cbSize =22
Device Format(set for track).Samples.wValidBitsPerSample =24
Device Format(set for track).Samples.wSamplesPerBlock =24
Device Format(set for track).dwChannelMask =3
Minimum Endpoint Buffer Size (1/100 ns) = 30000
Minimum Endpoint Buffer Size (sample) = 530
Minimum Endpoint Buffer Size (byte) = 4240
Requested Endpoint Buffer Size (1/100 ns) = 30045
Requested Endpoint Buffer Size (sample) = 530
Requested Endpoint Buffer Size (byte) = 4240
16-bytes Aligned Endpoint Buffer Size (1/100 ns) = 30045
16-bytes Aligned Endpoint Buffer Size (sample) = 530
16-bytes Aligned Endpoint Buffer Size (byte) = 4240
Audio client Initialisation achieved: Endpoint Buffer Size (1/100 ns) = 30045, Endpoint Buffer Size (sample) = 530, Endpoint Buffer Size (byte) = 4240
Renderer::InitAudioClient - chunk size not aligned on endpoint buffer size - chunk size = 4608 , endpoint buffer size = 530
SetVolumeOnSession - master volume set - volume (Db) = 0.0000000
Renderer::InitCache - Sample cache initialized - cache size (samples) = 9540, using BSS memory
I am concerned about 176 kHz as its the best SACD plugin can offer with no resampling stage.
Last edit: Anton B 2016-05-24
Hello Anton,
Thank you for your feedback. I will check your logs next week-end.
Kind regards,
Didier
Hello Anton,
As promised, you will find attached a patch for the wasapi plugin. You were right : endpoint buffer and sample cache configuration were ignored for 176,4 Khz sample rate. this bug is now fixed: configuration now applies to range of sample rates instead of discrete sample rate values. I am not sure that it will fix the crash problem, but it worth it a try. let me know how it works.
I will answer you on your other ticket concerning the asio plugin too.
Kind regards
Didier
Didier, thank you for your involvement! I will give it a try and report tomorrow for both 176K and other 24/32 issue!
And this fix worked well for me! Thank you so much!!! Now I can output SACD and many 176.4 files without the need of additional resampling stage. And I think I will stick to WASAP instead of ASIO so far )
Last edit: Anton B 2016-06-02