|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#81 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Thank you so much!
Got around to trying your new version and I now get output through shared mode thanks to your change
![]() EDIT: It seems exclusive displays the unsupported format error (and the dialog to close Winamp), but if I click cancel, playback starts up just fine. Does it revert to shared mode automatically or does it somehow work despite the error message? EDIT 2: The dialog only appears when playing certain files (namely ones with different sampling rates) but playback still works fine once I click cancel. |
![]() |
![]() |
#82 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#83 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
That dialog does not display in the debug version (even in exclusive mode) but here is the log produced after playing a file that would otherwise cause the dialog to display:
code: |
![]() |
![]() |
#84 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#85 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.8.0
Quote:
What's new?
![]() Links:
|
|
![]() |
![]() |
#86 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Thank you so much; working much better than before. I now only see the error when playing files with odd sampling rates. For example, 32Khz files won't play in exclusive mode such as this one:
https://www.dropbox.com/s/tu4bjvqh6z...on%29.mp3?dl=0 I also use an input plugin called "64th Note" which plays the Nintendo 64 music format usf/miniusf. Those also have a sampling rate of 32Khz and won't play in exclusive mode. Even MAIKO's plugin struggles with some of these such as the "Banjo Kazooie" soundtrack. |
![]() |
![]() |
#87 | ||
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
Your observation from yesterday gave me the impression that a call to IAudioClient::IsFormatSupported() don't give the result I'm expecting. So I simply dropped it and let IAudioClient::Initialize() decide whether it can deal with a certain format or not. Quote:
|
||
![]() |
![]() |
#88 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Thanks!
Thanks for the tips and for your hard work updating the plugin. Fortunately, most of my files are not affected by this so I can flip to shared mode when needed.
|
![]() |
![]() |
#89 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.8.1
The new release automates this due to an "automatic" share mode.
What's new?
![]() Links:
|
![]() |
![]() |
#90 | |
Member
Join Date: Oct 2011
Location: Melbourne Australia
Posts: 84
|
Quote:
![]() |
|
![]() |
![]() |
#91 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
You read my mind.
You implemented the very feature I was considering asking about; thanks. Now I no longer need to worry about manually toggling shared mode. Your plugin is now more stable than MAIKO's (i.e. no more crashes/disruptions). Too bad that project is abandoned but I'm really glad you are working on this plugin.
|
![]() |
![]() |
#92 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
With respect to exclusive mode the developer of MAIKO writes: I do not recommend to use this [exclusive] mode unless you have a specific need.For shared mode he advertises his own 80-bit audio engine This [shared] mode features a 80-bit software mixer, channel matrixing, resampler and gapless playback on the top of WASAPI shared mode. Maiko take into consideration every nuance on windows kernel data transformations for winamp application and substitute them by her own algorithms as much quality beneficial as possible.Viewed this way, MAIKO and YASAPI are complementary to each other:
|
|
![]() |
![]() |
#93 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Makes sense.
Makes sense to me; you're saying both plugins serve a different purpose rather than one replacing the other. Sticking with your plugin though as Exclusive mode is more for me as I only want one application using the sound card at a time. For example, autoplaying videos on certain websites can no longer disrupt my listening pleasure so to speak
![]() |
![]() |
![]() |
#94 |
Member
Join Date: Nov 2003
Posts: 77
|
Hi Peter!
Thanks for the new versions, the plugin gets better and better! Shared mode is working fine for me as well (previously it wasn't). I could listen to music in shared mode when doing a skype call in the meantime ![]() However I found couple of bugs and I have 2 new feature request as well. I. Bugs in v7.1-v8.1 (detailed bug report is here: http://pastebin.com/c2TW1E4z ) : - 1. Exclusive + Pull crashes Winamp (normal and sse version): - 2. audio clipping/distorsion when playing 48KHz aac 2/6 channel file (normal and sse version) II. Feature requests (probably the first isn't a big deal): 1. add "System Default" device at the top of the list under Devices tab (as you can see in MPC-HC nightly https://nightly.mpc-hc.org/ ) Reason behind this: - my setup: laptop -> hdmi -> AVReceiver -> hdmi -> TV - all the other audio devices are disabled or removed in the Sound preferences in Windows, only this HDMI audio is enabled - when avreceiver is On/Standby AND tv is Off Windows sees the avreceiver as "RX-A830" audio device (and not just audio device, as it turned out, but as a display as well!!! but it's a different story) - when avreceiver is On/Standby AND tv is On Windows sees the tv as "LG" audio device! That means yasapi crashes winamp since the set audio device can't be found. - this is working like this with HDMI audio (devices vanishes and reappears all the time) - only solution is adding a System Default device at the top of the list: in this way yasapi always use the system default and Windows is selecting the appropriate audio device. 2. add an option for channel matrixing in shared mode (as in Maiko's plugin) - if it's set then it would use the default speaker setup in Sound preferences in Windows - e.g. I could select Quadraphonic to mirror the 2 channel fronts to the back (right now I'm using the 7ch sound of my avreceiver , but it uses the center channel as well that I don't like at all) - this is the only feature that I miss from your plugin ![]() Thank you for your work! (OS: Windows 8.1 64 bit, HDMI Intel Display Audio driver: 6.16.0.3154) |
![]() |
![]() |
#95 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.8.2
What's new?
|
![]() |
![]() |
#96 | ||
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
Quote:
Unfortunately I don't see something similar easy to implement as the AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM flag as proposed by benski. EDIT: I've just uploaded a slightly changed v0.8.2. Last edited by pbelkner; 31st October 2015 at 11:23. |
||
![]() |
![]() |
#97 | ||
Member
Join Date: Nov 2003
Posts: 77
|
Thanks for the new build Peter!
Quote:
1. there's a different behaviour now (from 0.8.1), it won't crash winamp immedately, but: - won't start playback then it waits - when stop button is pushed: then crashes 2. still clipping, here a 2ch-48KHz-sample-aac : https://dailyuploads.net/qhk9u5ne3fq0 It won't hurt anything ![]() Quote:
![]() What's this "Added support for KSAUDIO_SPEAKER_7POINT1" feature for? Does it only allow 7.1 playback in shared mode? It isn't for channel matrixing, right? |
||
![]() |
![]() |
#98 |
Member
Join Date: Nov 2003
Posts: 77
|
And here's the Sanear Directshow Wasapi Audio Renderer on github (what's included in MPC-HC nightlies), maybe it can give you couple of hints: https://github.com/alexmarsev/sanear
|
![]() |
![]() |
#99 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Been using the new version for a little while now and absolutely no problems from my end; thanks again for the hard work. My setup is stereo only though so it's different than chros's.
|
![]() |
![]() |
#100 |
Junior Member
Join Date: Dec 2014
Posts: 33
|
pbelkner
Just installed your plugin, no problems at all. The playback from many of my old mp3's is now "music to my ears". Thank you! Zeekid |
![]() |
![]() |
#101 |
Junior Member
Join Date: Nov 2015
Posts: 1
|
Hi guys,
I'm trying out this plugin and can't get it to work in exclusive mode at the moment. I'm on Windows 7 and if I set it to exclusive then no audio plays. I've installed the debug version of the plugin and have pasted the log below - any ideas? Is it just an incompatibility with my sound card maybe? The "Warning: underflow" just repeats over and over until I pause or stop the playback. I've fiddled around with buffer settings a bit to see if that made any difference, but it hasn't. I'm playing back via the "Speakers (ASUS Xonar DX Audio Device)" device. code: |
![]() |
![]() |
#102 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
|
|
![]() |
![]() |
#103 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
|
|
![]() |
![]() |
#104 | |
Member
Join Date: Nov 2003
Posts: 77
|
Quote:
![]() |
|
![]() |
![]() |
#105 |
Senior Member
|
me too, but to be honest I'm still jumping between maiko and yasapi, because
the upmixing from Stereo sources to 5.1 is great in maiko |
![]() |
![]() |
#106 |
Member
Join Date: Nov 2003
Posts: 77
|
|
![]() |
![]() |
#107 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Looking forward to it. Thank you so much for the hard work and for addressing the issues I was having with the plugin earlier.
|
![]() |
![]() |
#108 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.9.0
What's new?
![]() Note: You should re-configure at least the buffer sizes. As a rule of thumb all buffer sizes should be 1.0 except the ring buffer's size which should be just a small amount greater then 1.0. Links:
Quote:
Hope that there's some further improvement due to the third bullet point of the above announcement (special treatment of double buffering). |
|
![]() |
![]() |
#109 |
Junior Member
Join Date: Jul 2010
Posts: 14
|
Thanks for the update
![]() However I am finding the reduced buffer sizes of 0.9.0 are playing havoc with my system. In yasapi version 0.8.2 I had to drag all three buffer sliders to the far right to be able to use Winamp properly. At default levels the songs would play and sound great, but if I tried to drag the seeker forward or backward quickly during a song I could quite often get a AUDCLNT_E_BUFFER_TOO_LARGE: “yasapi_session.c” (943) error message. Increasing all three buffer sliders seemed to help in this regard. However with the new version 0.9.0 even with all three buffer sliders to the far right I can't play any music; I now get a AUDCLNT_E_BUFFER_TOO_LARGE: “yasapi_session.c” (642) error message instead. Hope you can help. I am using a Gieseler Klein DAC via USB. According to the Gieseler website the USB input is via an Amanero Combo 384 module in asynchronous mode. I am using the latest Amanero drivers 1.0.57. I have reverted back to 0.8.2 and everything is working again. Hope you can help; I would love to be able to keep my Yasapi up to date if possible. Thanks again for a great plugin ![]() |
![]() |
![]() |
#110 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#111 |
Junior Member
Join Date: Jul 2010
Posts: 14
|
Exclusive and push (I also pressed the "Default" button in the bottom left corner).
If I ever ran the plugin in 'shared' mode (my preferred option) it would pop and click way too much, but exclusive mode was perfect. Have never tried the 'pull' option - should I give it a go? Thanks ![]() |
![]() |
![]() |
#112 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
v0.9.1
What's new?
Quote:
The NumFramesRequested value exceeds the available buffer space (buffer size minus padding size).I can hardly see how this can happen. In order to gain some information I've introduced some additional tracing into the new debug version. It would be nice if you can run the debug version with "Debug" set to "Default". I need to know at least what is written under "open", e.g. PHP Code:
|
|
![]() |
![]() |
#113 |
Junior Member
Join Date: Feb 2014
Posts: 40
|
Thanks for the update. For some reason, this file won't play for me (even in shared mode). It just hangs at 00:00:
https://www.dropbox.com/s/ea7050dfyu...oline.mp3?dl=0 |
![]() |
![]() |
#114 |
Junior Member
Join Date: Jul 2010
Posts: 14
|
Thanks for your assistance, PM sent
![]() |
![]() |
![]() |
#115 |
Junior Member
Join Date: Jul 2010
Posts: 14
|
Update - The latest version works if I select 'Pull' as the strategy, however like last time there are a lot of pops and clicks at the default buffer sizes. These pops and clicks disappear if I slide the buffer arrows to their maximum.
Also note that both 'Shared' and 'Automatic' also result in jumpy pops and clicks, but the songs play perfectly in Exclusive Mode. Another issue - my song doesn't stop when it is supposed to. At the end of the song there is silence and the seeker stops moving as it should. However the song time keeps advancing and the little display of dotted lines underneath the time goes back and forth while the clock keeps ticking. If I don't press the stop button the song time just keeps going up and up. |
![]() |
![]() |
#116 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
PHP Code:
|
|
![]() |
![]() |
#117 |
Senior Member
Join Date: Jun 2010
Posts: 405
|
|
![]() |
![]() |
#118 | |
Senior Member
Join Date: Jun 2010
Posts: 405
|
Quote:
|
|
![]() |
![]() |
#119 | |
Junior Member
Join Date: Jul 2010
Posts: 14
|
Quote:
PHP Code:
|
|
![]() |
![]() |
#120 |
Junior Member
Join Date: Jul 2010
Posts: 14
|
And here is the trace with default settings. Now I'm NOT getting any error messages, and the tracker and song time moves - just no sound unfortunately.
PHP Code:
|
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|