|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#41 |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,772
|
Hi pbelkner,
Does version 0.4.0 include a possible fix for my issue? Windows 10 Home 64-bit v20H2 desktop - Logitech Z906 5.1 speaker system |
![]() |
![]() |
#42 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#43 | |
Member
Join Date: Oct 2011
Location: Melbourne Australia
Posts: 84
|
Quote:
http://www.head-fi.org/t/588677/a-sh...w-maiko-wasapi Essentially, WASAPI routes the music without mixing it before reaching the speakers. You get the music as it is with no fancy sampling around. This works best with music encoded at high bit rates and great quality. It is also because of the music is not sampled, you would not get sound from other sources, but one (YASAPI output). This is by design. Hope this helps. Anyone wants to add? You are welcome @pbelkner Sorry I plugged in a guide to Maiko's plugin. I could not find any other guide to illustrate. I use your plugin since launch now so count me as your fan. Keep the work on the plugin ![]() ![]() |
|
![]() |
![]() |
#44 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#45 | |||
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
It should not happen in shared mode. Quote:
Quote:
You shouldn't have this problem with exclusive mode. If some sample rate is not supported in exclusive mode (e.g. 22.050) you should get AUDCLNT_E_UNSUPPORTED_FORMAT. |
|||
![]() |
![]() |
#46 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#47 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.5.0
What's new?
![]() Relevant links:
|
![]() |
![]() |
#48 |
Junior Member
Join Date: Feb 2003
Posts: 21
|
I tried this plugin on my Windows 64 bit with SA stereotool dsp but I do not get any sound at all. The spectrum analyzer display is also erratic and the scrolling of the musical selection is accelerated for some reason.
|
![]() |
![]() |
#49 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
Have you tried the YASPI plugin without any DSP? |
|
![]() |
![]() |
#50 | |
Junior Member
Join Date: Feb 2003
Posts: 21
|
Quote:
Yes with the same result |
|
![]() |
![]() |
#51 |
Junior Member
Join Date: Sep 2015
Posts: 1
|
The bug of S_FALSE and AUDCLNT_E_UNSUPPORTED_FORMAT maybe a barrier to me.
Iam using Windows 10 and an USB Sound Card. I was using Maiko WASAPI since Windows 8.1, it works well until Windows 10. Sound sometimes freezes and the only way to get it back is unplug the USB cable then plug it again. It happens every 1 or 2 hours. I see that your plugin works better to me. Of course Exclusive settings are poor (compair to Maiko's), but I always use Shared Mode so your plugin is almost perfect without the bug above. What gonna happen if I have a lot of songs with various bitrate? I believe that almost people in here, who using your plugin do have. And when I was deep in a sweet melody, the error popup appears interrupting my moment, I have to close error reporting windows, go to sound settings -> device settings -> change my default format -> open Winamp again -> choose next song??? And if I was lucky, I will remember to change it again before next song plays, cause next song is stored at another sampling. Bad story. I know it is not a bug, it's what you called "by design" but I did not see any output methods requires me to change sound sampling matching song's sampling. You should have better solution for this. |
![]() |
![]() |
#52 |
Senior Member
Join Date: Aug 2013
Posts: 128
|
Sorry,there is BUG:
(hp g4-1060tx laptop,i5-2410M CPU @2.3GHz,4G RAM,win7_x64,Winamp 5.666) 1.Too hard to use, high delay. 2.Not support 24bit. |
![]() |
![]() |
#53 | ||
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
In such a case Maiko silently does sample rate conversion (SRC). But why using WASPI in conjunction with SRC and not DS? SRC is exactly what DS adds to the bill. WASAPI + SRC = DS! Quote:
If WASAPI of your sound card supports all of you're frequencies you may use WASAPI in exclusive mode. That's where YASAPI is designed for. Otherwise YASAPI is not for you, just use DS! |
||
![]() |
![]() |
#54 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
YASAPI doesn't silently perform any digital sound processing (DSP, e.g. SRC or conversion from 24 to 16 bit). If you try to route any format via YASPI to the WASPI of your sound card which is not supported by the WASAPI of your sound card it will fail. In such a case YASAPI is simply not for you. WASAPI + DSP = DS, cf. above! Simply use DS! |
|
![]() |
![]() |
#55 |
Senior Member
Join Date: Aug 2013
Posts: 128
|
Get it,now I do not use dsp,
But,play music use YASAPI delay too high(It make Prolonged sound /high-pitched sounds),on start/seek and track change. Now I can use shared mode play 24bit format,but delay also too high. |
![]() |
![]() |
#56 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#57 | |
Senior Member
Join Date: Aug 2013
Posts: 128
|
Quote:
get more delay,no ues,sorry. |
|
![]() |
![]() |
#58 | |
Junior Member
Join Date: Sep 2015
Posts: 24
|
Quote:
|
|
![]() |
![]() |
#59 |
Member
Join Date: Nov 2003
Posts: 77
|
Hi Peter!
I have just found your plugin, thanks for your work! 1. I got this error when I try to use: shared+push mode: S_FALSE: "yasapi_player.c" (140). (sampling rate is matched in Sound in Control panel, 44.1KHZ) I'm not using any dsp plugin. Exclusive mode is working fine. Winamp 5.581, yasapi 0.5, Win8.1 x64, hdmi out to Yamaha RX-A830. Thanks |
![]() |
![]() |
#60 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
![]() EDIT: "yasapi_player.c" (140) is a call to IAudioClient::IsFormatSupported(). Last edited by pbelkner; 2nd October 2015 at 06:53. |
|
![]() |
![]() |
#61 | |
Ben Allison
Former Winamp Developer Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
|
Quote:
|
|
![]() |
![]() |
#62 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.6.0
Because I didn't know ...
Unfortunately I'm on Vista and my SDK doesn't define this flag in it's "audiosessiontypes.h". To circumvent this I can define it myself, of course, following https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx. What about AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY which is mentioned at the bottom under "Community Additions"? This is not even mentioned in the above official documentation. Anyway, I've created a new release adding the AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM flag when in shared mode:
|
![]() |
![]() |
#63 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.6.1
Corrected a silly bug in testing for share mode.
|
![]() |
![]() |
#64 |
Member
Join Date: Oct 2011
Location: Melbourne Australia
Posts: 84
|
Hello Pbelkner,
I tried using the 0.50 version on my new Acer laptop - with Realtek. Sadly it would not work and I felt pretty sad as the plugin was working on my previous HP laptop. Well, I gave your 0.61 version a try tonight and it WORKED! Pure orgasm for the ears!! Many thanks from a very happy audiophile. Keep up the good work!!. Appreciated !! ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
#65 |
Member
Join Date: Oct 2011
Location: Melbourne Australia
Posts: 84
|
actually I figured out that it was the sse2 version that would not work previously. The normal version works perfect. My config is a Core I7 4720HQ @ 2.6ghz on Windows 10. Well I will be using the "normal version" with Winamp.
![]() ![]() |
![]() |
![]() |
#66 | |
Member
Join Date: Nov 2003
Posts: 77
|
Quote:
I don't understand this part: "Not each mode is supported by each DAC." Only Exclusive+Push is working, not shared mode at all. But the old Maiko is working for me in shared mode. If you need some additional info/test, just tell me ![]() Thank you! EDIT: I have found out what the problem was with the shared mode (Maiko plugin helped me, I remembered that it upconverted the audio to 5.1 channels): - you have to set to stereo (2 channel) the speaker configuration!!! - and the output to: 16 bit, 44100Hz (otherwise I got back the line 140 error message, is this a bug in 0.6.1) My setup is: laptop -> hdmi -> av receiver -> hdmi -> tv I'm using MPC-HC (latest nightly also have an internal wasapi renderer) for videos, movies , and I set it to use exclusive mode (it required to bitsreaming the supported format to the receiver), so a 2 channel source can be upconverted to 5.1 by putting AC3filter at the end of the directshow chain (outputs 5.1 pcm). So the setup seems to be perfect in this way! ![]() Bug (?): all the modes are working except for Exclusive+Pull (I'm using Shared+Push now) (I'm using the sse version) Feature request (if you are in the mood): - create a select box where we can choose the device to playback with, e.g. SytemDefault, device1, device2.... (you can check the source code of MPC-HC, how did they implemented it) - proper upsampling and downsampling in shared mode - create a checkbox called "Allow audio channel up/downmixing" (which would change the channels to the system speaker configuration) (Funny part is that I came here from the linux world: in Ubuntu the same problem exists. The main audio driver is ALSA and there's a userspace daemon called PulseAudio which is a mixer layer on top of that, and unfortunately it ruins the audio quality the same way as the builtin Windows mixer does. It turned out that couple of audio (Audacoius, Clementine, etc)and video player (Smplayer, etc) can output audio directly to the ALSA device, so it can use exclusive or shared mode of the audio device. The result is the same as in Windows: more dynamic sound! And Google Chrome browser also has an "--enable-exclusive-audio" command-line switch! ![]() Thanks again! Last edited by chros; 6th October 2015 at 22:10. |
|
![]() |
![]() |
#67 |
Junior Member
Join Date: Oct 2015
Posts: 1
|
Hi Peter
Your plugin works fine in exclusive mode, but when I tick 24bit in Winamp or play any file below 44KHz, YASAPI fails. Because of the limitation, I can't play any low quality station & I have to change API. Also, I only want to play in "bit-exact" mode. 4 Years old notebook, Windows 8.1 Pro x64, everything is updated to latest version. |
![]() |
![]() |
#68 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
![]() |
|
![]() |
![]() |
#69 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
No Sound for me
Decided to give your plugin a try since Maiko's output may crash Winamp when changing songs. However, I can't get any sound out of YASAPI from my DAC whereas everything including exclusive mode works fine with Maiko's plugin. This goes for all settings Shared/Exclusive with push/pull.
Perhaps the wrong sound device is being used by the plugin? I see nowhere to select a sound device. |
![]() |
![]() |
#70 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#71 |
Member
Join Date: Nov 2003
Posts: 77
|
The plugin is using the default sound device of the OS, no device selection is available for now. You can try out whether this is the issue by selecting what you need in Sound of Control Panel. Then try out Exclusive-push first.
|
![]() |
![]() |
#72 | |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Quote:
I did that but still no go. Either no output or Winamp crashes completely. |
|
![]() |
![]() |
#73 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
http://sourceforge.net/projects/out-....1.7z/download
Please note the "d" at the end of "out_yasapid". EDIT: In the configuration, you should disable "Hide Console". Then a debug window appears providing the trace. Last edited by pbelkner; 20th October 2015 at 18:09. |
![]() |
![]() |
#74 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Did that
Ok, ran the plugin with the debug window open and got this the moment I went to play something:
- Running in exclusive push mode. code: |
![]() |
![]() |
#75 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
There you have it, your WASAPI device doesn't support the requested format:
Quote:
channels: 2, rate: 192000, bps: 32, KSDATAFORMAT_SUBTYPE_IEEE_FLOATYour WASAPI devicde says that this is not supported. The closest match from your WASAPI device is channels: 2, rate: 44100, bps: 24 (integer) |
|
![]() |
![]() |
#76 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Makes sense but how come I get playback with MAIKO's WASAPI plugin (as I have the same settings for that too)? My DAC is capable of 32bit, 192Khz playback (I have it set as such in Windows "Speaker Properties").
EDIT: Any way the plugin can re-sample the media so that it's compatible (like what Audacity does it you change the project's sampling rate)? It'd be neat to play virtually anything that way without worrying about the source sample rate and bit depths. Last edited by djnforce9; 23rd October 2015 at 17:09. |
![]() |
![]() |
#77 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
channels: 2, rate: 44100, bps: 24That is what WA typically does. On the other hand channels: 2, rate: 192000, bps: 32, KSDATAFORMAT_SUBTYPE_IEEE_FLOATsays that your WASAPI device internally uses this particular format. From that we may conclude that your WASAPI device uses float 32 instead of some integer format. Can you confirm that? If you can confirm the above I can try something. |
|
![]() |
![]() |
#78 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.7.0
Quote:
![]() Note: Prior configuration for the default device may be lost. Please re-configure. Relevant links:
|
|
![]() |
![]() |
#79 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.7.1
Quote:
|
|
![]() |
![]() |
#80 |
Member
Join Date: Nov 2003
Posts: 77
|
Wow! Thank you for your changes! I'll test it soon
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|