|
![]() |
#1 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Winamp WASAPI output plugin beta
Hi all,
I've created a simple output plugin which uses WASAPI, so it can be used on Windows Vista or later. It's only a first version, and it can be downloaded on my website: http://adionsoft.net/winampwasapi/ http://adionsoft.net/winampwasapi/ I know that there already was a WASAPI output plugin, but it didn't really function the way I wanted. My plugin currently prefers exclusive mode, but if it fails to find a suitable exclusive mode, it will connect in shared mode. It can do high quality resampling if required, and supports 16,24 and 32-bit outputs. For input files it currently only supports 16 and 32 bit files. Volume-changes are always click-less. Currently it also prefers a low latency, but if it detects a problem with glitches in the output it will automatically increase the latency. Since it doesn't remember the optimal setting yet, this means that when you first start winamp there might be a few glitches the first few minutes you use it. The reason I created it was because my laptop doesn't want to play audio without glitches in directsound mode, but it does play without glitches in exclusive wasapi mode, and with only very infrequent glitches in wasapi shared mode. An advantage of exclusive mode is also that you aren't interrupted by other programs (annoying flash popups in your browser for example ![]() Some things that I might add to it in the future: -Fading stop/pause/seek -Not close wasapi immediately when close is called so that it responds faster when loading another song -Remember optimal latency -Configuration for exclusive mode and latency -Up- and down-converting for 5.1 to 2.0 or 2.0 to 5.1 (maybe with bass-redirection also) -Support for 24-bit input files If anyone is interested in trying it, or wants to make suggestions, feel free to do so! |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Jan 2010
Posts: 76
|
thanks..
|
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Jan 2010
Posts: 76
|
link dont see.. send pm?
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
I'm not sure why the link doesn't show up, here it is again, hopefully you can see it now:
http://adionsoft.net/winampwasapi/ |
![]() |
![]() |
![]() |
#5 | |
Member
Join Date: Jan 2010
Posts: 76
|
Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Join Date: Sep 2003
Posts: 27,873
|
is due to a spam protection measure applied to junior members.
clickable link -> http://adionsoft.net/winampwasapi/ -daz |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: Jan 2010
Posts: 76
|
bugs srs sanbox+win7x86
configure window not open output 32 bits not 16 bit error window (renderdiconnectcallback) |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Sep 2009
Posts: 4
|
great!
Well done! - this is the very first Wasapi exclusive output that has worked without problems on my Sony Vaio / W7 / (asynchronous) usb / dCS set up. So far no others (Foobar, J River, XXHighEnd, Reclock) have worked without locking up or glitches. Interestingly, Wasapi exclusive sounds excellent and so far seems to sound the same in most players (excluding glitches) Other bit perfect outputs (ASIO) were supposed to but never did. Now unfortunately Winamp doesn't come with a "10 foot" mode (large sceen mode for remote control from 10' - at least as far as i know). So how would you like to write a plugin for J River that works (unlike the native one)? Anyway well done!
Murray |
![]() |
![]() |
![]() |
#9 |
Member
Join Date: Jan 2010
Posts: 76
|
Waiting for new version.thanks..
|
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Thanks
![]() kerim: There is no configuration dialog yet, I also tried it with srs demo and it seemed to work fine here. The output will indeed be 32-bit when available. This will reduce the quality loss when using the volume control, and there should be no quality loss at all converting 16-bit to 32-bit. murrayp: As for J River, I'm afraid I don't have much time at the moment to write another plugin, and at first sight on the website I didn't even see anything about output plugins, so I don't know if it's even possible. Maybe looking for a larger/different skin for winamp could make it work for you? |
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Sep 2009
Posts: 4
|
Thanks for looking Adion. I thought maybe it wouldn't be straight forward getting it into another program. Have you any idea or hints that I could pass on to other developers to try as to why yours runs without stuttering or glitches when all others I've tried don't?
best Murray |
![]() |
![]() |
![]() |
#12 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Exclusive mode usually works better than shared mode, and selecting a buffer size that is large enough to minimize glitches.
Other than that I don't think there's anything special about the way my plugin uses wasapi. |
![]() |
![]() |
![]() |
#13 |
Member
Join Date: Jan 2010
Posts: 76
|
My headset is not compatible with 32-bit audio is broken up ...sorry
|
![]() |
![]() |
![]() |
#14 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Strange, if it isn't compatible with it, the drivers shouldn't allow it either.
My sound card also only works in 16-bit mode, but it simply connects in 16-bit mode if 32-bit is not available. |
![]() |
![]() |
![]() |
#15 |
Member
Join Date: Jan 2010
Posts: 76
|
When the 32-bit output is set to srs sandbox removed when going back to 16-bit...my sound card sb live 24 bit
Last edited by kerimcem; 28th January 2010 at 19:25. |
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
Does not play nice at all with my Winamp :P
RenderDisconnectCallback error when I try to play anything. If 24-bit output is enabled in Winamp, it skips through the song for a few seconds then freezes. If 24-bit output is disabled, it plays after error but freezes on stop/next/previous track. Vista 32-bit, Winamp 5.56, Auzentech X-*******n. Let me know if you need anything else although I may not check this topic often at all lol. |
![]() |
![]() |
![]() |
#17 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
As mentioned 24-bit input wasn't supported yet.
There's a new beta now which supports 24-bit input, and also allows volume control on multi-channel audio. |
![]() |
![]() |
![]() |
#18 |
Member
Join Date: Jan 2010
Posts: 76
|
thaks update..
I tried again sounds bad .... sorry I returned ks plugin |
![]() |
![]() |
![]() |
#19 |
Member
Join Date: Jan 2010
Posts: 76
|
![]() volume bar does not work ![]() 32 bit output and device not see thanks..waiting.. ![]() |
![]() |
![]() |
![]() |
#20 | |
Junior Member
Join Date: Apr 2008
Posts: 13
|
Quote:
I just tried the new version and am getting the same error. I am using 16-bit input. 24-bit output is now working the same as 16-bit output, but I am still getting the same error on playback start and winamp freezing on stop/trackchange. I'll see about updating winamp and if that helps. Nope, did not fix updating to 5.72 or switching windows output to 48/44khz. Okay, I found the fix. Unchecking "Give exclusive mode applications priority" fixes the issues. Is this an problem you can solve in the plugin? |
|
![]() |
![]() |
![]() |
#21 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
I'm not sure, that switch is actually enabled here, so it might also be related to the soundcard's driver.
When I have some time I'll see if I can try it with some other sound cards. As for the volume control, I'm not sure that it is possible to make it work for WASAPI Exclusive applications |
![]() |
![]() |
![]() |
#22 |
Junior Member
Join Date: Sep 2006
Posts: 24
|
Hi, Love the new plugin. I am now using it on a daily basis but I notice the seeker / time progress seems to move incorrectly.For example a 6 minute song will only display 3:00 when completed in winamp. For this reason dragging on the seekbar also seems to work incorrectly.
Can this be fixed from your end? |
![]() |
![]() |
![]() |
#23 |
Junior Member
Join Date: Jul 2008
Location: east yorkshire, england
Posts: 17
|
working well here on my X-Fi XtremeGamer (if that makes any difference with software renderers?). for some reason, it always uses 32-bit output, according to the about window, which i find odd since my sound card apparently doesnt support this bit depth :/
it still sounds fine though, and hasnt done anything weird yet ![]() |
![]() |
![]() |
![]() |
#24 |
Junior Member
Join Date: Feb 2009
Posts: 10
|
I've just tried the WASAPI output using Winamp 5.572 with an M-Audio Delta Audiophile 2496. It works beautifully with 24 bit 96Khz source material, but with 44.1Khz sampled source material, there is a constant, rhythmic "thump-thump-thump" noise masking the sound.
If I may help in any way, please let me know. I have high hopes. In the interim, it's back to kernel streaming for me. |
![]() |
![]() |
![]() |
#25 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Could you check in 'About' what the samplerate and format is that the plugin connected with?
|
![]() |
![]() |
![]() |
#26 | |
Member
Join Date: Jan 2010
Posts: 76
|
Quote:
sound comes less than ks plugin foobarwasapi and makio 44.khz-48khz Last edited by kerimcem; 3rd February 2010 at 23:26. |
|
![]() |
![]() |
![]() |
#27 | |
Junior Member
Join Date: Feb 2009
Posts: 10
|
Quote:
![]() The good: ![]() Thank you. |
|
![]() |
![]() |
![]() |
#28 |
Junior Member
Join Date: Sep 2006
Posts: 24
|
Hi, I get
Samplerate: 192000 Output bits: 32 Floating point: true for a 44.1khz 16bit mp3 I think there should be an option to avoid any processing, and output in pure form, ie same as input. Otherwise output at a certain rate of the users choosing if processing is to be allowed (for volume I assume?) |
![]() |
![]() |
![]() |
#29 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
BTW I'm still reproducing the same exclusive priority issue as before, now on Win7 64 and a new sound card in the X-Fi Forte :P
|
![]() |
![]() |
![]() |
#30 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
Another new beta. I've now added a delay before closing the wasapi output, which means that it will only be closed after the songs have stopped for 5 seconds, or when closing winamp.
On track changes, no reconnect occurs anymore. I haven't been able to find what causes the other problems yet. About processing: The plugin tries to connect at the same samplerate as the source song first, and if this succeeds no resampling occurs, so if the volume is at max, no processing occurs. |
![]() |
![]() |
![]() |
#31 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
Seems to work fine with exclusive priority checked now.
Except for one humorous massive fail chain, but haven't been able to reproduce. |
![]() |
![]() |
![]() |
#32 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
actually still seems kinda buggy with exclusive priority on, get random buggy static noises once in a while
|
![]() |
![]() |
![]() |
#33 |
Junior Member
Join Date: Feb 2009
Posts: 10
|
Same here...almost like there isn't enough buffer or something. It occurs to me: If the plugin fails to initialize the sound card and falls back to re-sampling, how are we to know whether or not we are listening to bit perfect audio?
dstln: Are you seeing an option to tick "exclusive priority?" I don't have any options to configure on the plugin. |
![]() |
![]() |
![]() |
#34 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
nono. I've been talking about in windows > sound settings > "give exclusive mode programs priority"
|
![]() |
![]() |
![]() |
#35 | |
Junior Member
Join Date: Feb 2009
Posts: 10
|
Quote:
|
|
![]() |
![]() |
![]() |
#36 |
Junior Member
Join Date: Apr 2008
Posts: 13
|
btw is the plugin intended to display mono content in the left channel only? I wasn't sure.
|
![]() |
![]() |
![]() |
#37 |
Junior Member
Join Date: Feb 2009
Posts: 10
|
Incidentally, I enabled my onboard sound (ACL850) and the plugin worked great @ 44.1Khz.
|
![]() |
![]() |
![]() |
#38 |
Junior Member
Join Date: Feb 2002
Location: Belgium
Posts: 28
|
New beta available. Mono sources should work too now, but I haven't tested that yet.
The problem with the time display not being correct should be fixed too. The about window now shows a little more information, so that you can see how it is connected. |
![]() |
![]() |
![]() |
#39 |
Member
Join Date: Jan 2010
Posts: 76
|
this version is working great.. thanks
|
![]() |
![]() |
![]() |
#40 |
Member
Join Date: Jan 2010
Posts: 76
|
![]() but problems continue , plugin using cpu high and sound freezing. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|