Winamp 2 Kernel Streaming Output Plugin, Wanna try out my KS output plugin for WA |
Winamp 2 Kernel Streaming Output Plugin, Wanna try out my KS output plugin for WA |
Nov 29 2002, 01:52
Post
#1
|
|
![]() Group: Developer Posts: 359 Joined: 29-October 02 Member No.: 3652 |
I just wrote a simple Kernel Streaming output plugin for WA2 - check it out at http://www.cs.indiana.edu/~cshei/out_ks.dll. It's very experimental right now - it just uses the first output device it finds, and it's currently hard-coded to use 10 output buffers (so it might skip if you have all those WinXP visual effects enabled). Source code is at http://www.cs.indiana.edu/~cshei/out_ks.zip (a VC++ .NET project - sorry VC++ 6 users). I just wrote it this afternoon, because Microsoft released a Kernel Streaming demo today
Annuka: using Kernel Streaming should prevent ALL other programs from using the sound device, which should solve the "Silence Flash" problem. Edit: By the way, if you do give it a try, give me some comments/suggestions This post has been edited by Chun-Yu: Nov 29 2002, 01:54 |
|
|
|
![]() |
Jan 2 2006, 18:13
Post
#2
|
|
|
Group: Members Posts: 39 Joined: 27-August 04 Member No.: 16564 |
Steve,
I don't know if you have used ASIO4all or not but it has buffering built in and I believe the buffer size is changeable. I haven't used it in a while and I believe a newer version has been released since then. To use it with winamp, you also need the asio output plugin. Anyway, I don't believe the source code is available, but I believe the author would be willing to give you any advice needed. One other small thing, which really isn't an issue for me, but if you try playing something from the "winamp music" (not shoutcast radio or aol xm radio) of the online media section in the media library, it will play but choppy and at the incorrect speed. This plays fine with DirectSound and it the winamp modern skin is showing a 44.1k sampling rate and 65 kbps bitrate, although the audio sounds like a lower sampling rate - I though it may just be a sampling rate my sound card couldn't handle. Anyway just wanted throw this out there for troubleshooting. By the way streaming (with and without extensions) works great on my setup. Thanks for all the hard work. |
|
|
|
Jan 2 2006, 18:28
Post
#3
|
|
|
Group: Developer Posts: 102 Joined: 4-December 05 Member No.: 26200 |
QUOTE I don't know if you have used ASIO4all or not but it has buffering built in and I believe the buffer size is changeable. I haven't used it in a while and I believe a newer version has been released since then. To use it with winamp, you also need the asio output plugin. Anyway, I don't believe the source code is available, but I believe the author would be willing to give you any advice needed. Hi, nope, I haven't had a play around with ASIO drivers as I'd pretty much got the Kernel Streaming plugin doing what I needed. Might take a peek though. QUOTE One other small thing, which really isn't an issue for me, but if you try playing something from the "winamp music" (not shoutcast radio or aol xm radio) of the online media section in the media library, it will play but choppy and at the incorrect speed. This plays fine with DirectSound and it the winamp modern skin is showing a 44.1k sampling rate and 65 kbps bitrate, although the audio sounds like a lower sampling rate - I though it may just be a sampling rate my sound card couldn't handle. Anyway just wanted throw this out there for troubleshooting. Yep, it does the same for me (I'd never even noticed the "Winamp Music" option!). I reckon it's either the latency value I pass back to Winamp on initialisation or the GetOuptutTime/GetWrittenTime functions which (as far as I can see) don't return "proper" values. Another one for the bug list. QUOTE By the way streaming (with and without extensions) works great on my setup. Thanks for all the hard work. Great, glad to hear it. Once again, thanks for the feedback. Regards, Steve |
|
|
|
Jan 3 2006, 14:47
Post
#4
|
|
|
Group: Developer Posts: 102 Joined: 4-December 05 Member No.: 26200 |
There's an alpha version of the new plugin available here (V3.0 alpha). This is an incomplete work in progress version which lacks the following features (for now);
pause volume control 24 bit support oversampling It's essentially a rewrite and uses my new buffering technique which I hope will solve the crackling under load problem. It also now seems to work better with "Winamp Music" with just a little breakup at the start. It seems to behave okay here but I'd like to know if it makes matters any better (or worse) for those of you who were getting the breakup under load problems (e.g. punkrockdude and callmeace), I'd appreciate it if you guys could give it a try and let me know how it goes. This plugin is V3.0 alpha, so you'll have to select it as the output plugin instead of the existing one. All config settings other than Output Device are ignored for the minute and you may need to re select your output device if you are not already using the default. This is test code and although it works fine for me it may crash your systems, so I'd recommend saving any important data before you try it. As usual, you try it at your own risk (although it shouldn't do anything catastrophic). Cheers, Steve This post has been edited by Steve Monks: Mar 19 2006, 21:59 |
|
|
|
Chun-Yu Winamp 2 Kernel Streaming Output Plugin Nov 29 2002, 01:52
cynix will kernel streaming allow me to play mp3s while ... Nov 29 2002, 02:36
Peter out_ks.dll apparently needs msvc7 dlls, which i do... Nov 29 2002, 02:38
Gabriel Sorry, but what does "kernel streaming" ... Nov 29 2002, 09:03
cynix QUOTE (Gabriel @ Nov 29 2002 - 07:03 PM)Sorry... Nov 29 2002, 11:14
WaldoMonster What are the advantages over a directsound output? Nov 29 2002, 14:49
Peter from my short IRC survey, you should give it a try... Nov 29 2002, 15:03
Chun-Yu Ok - point taken, Peter. Although I don't thi... Nov 29 2002, 15:19
Peter "low-latency output" is totally useless ... Nov 29 2002, 15:53
Jasper Actually low-latency output doesn't have to (e... Nov 29 2002, 16:18
Peter depends what else you are using the computer playi... Nov 29 2002, 16:25
Chun-Yu QUOTE (zZzZzZz @ Nov 29 2002 - 06:53 AM)... Nov 29 2002, 16:36
Peter yeah yeah. your plugin isn't creating threads,... Nov 29 2002, 16:45
Chun-Yu Ah! - now I see what you mean! My plugin ... Nov 29 2002, 17:03
Peter i believe that exact effect depends on your driver... Nov 29 2002, 17:11
Chun-Yu I'll look into it (probably just try it on a b... Nov 29 2002, 18:14
Case QUOTE (Chun-Yu @ Nov 29 2002 - 02:52 AM)... Nov 30 2002, 14:12
Chun-Yu QUOTE (Case @ Nov 30 2002 - 05:12 AM)QUOTE (C... Dec 1 2002, 18:32
jrj On my system, currently using only a Realtek AC97 ... Dec 2 2002, 07:21
Chun-Yu QUOTE (jrj @ Dec 1 2002 - 10:21 PM)On my syst... Dec 2 2002, 14:24
va3atc QUOTE (Chun-Yu @ Dec 2 2002, 05:24 AM)QU... Sep 11 2004, 22:24
jrj After a little further experimentation, it looks l... Dec 4 2002, 08:33
krabapple QUOTE (jrj @ Dec 4 2002, 02:33 AM)After a lit... Dec 29 2005, 07:52
Steve Monks QUOTE (krabapple @ Dec 29 2005, 07:52 AM)How ... Dec 31 2005, 17:14
c^2 Any update on your progress, Chun-yu? I'm rea... Dec 14 2002, 05:08
thomaspf Chun-Yu,
great effort! A kernel streaming out... Dec 29 2002, 20:12
KikeG Ehm... any update on the plugin, Chun-Yu? Apr 23 2003, 07:50
Chun-Yu Not yet - been real busy. Should have much more t... Apr 23 2003, 14:21
GaBMaTrIx Hi,
I'm really seeking forward any update to ... Jun 1 2003, 06:43
Hiwi Hi!
I wanted to try the plugin, too.
Using C... Jun 23 2003, 16:58
Chun-Yu I don't quite remember, but I think kernel str... Jun 23 2003, 17:13
Hiwi Thanks for your reply Chun-Yu!
I was just thi... Jun 23 2003, 23:15
Hiwi Thanks for your reply Chun-Yu!
I was just thi... Jun 23 2003, 23:16
mackthen wow, the improvement in sound when I use this is a... Jul 1 2003, 19:55
AstralStorm Kernel Streaming just bypasses the mixer and its v... Jul 1 2003, 20:07
Geeck QUOTE (mackthen @ Jul 1 2003 - 07:55 PM)wow, ... Jul 1 2003, 20:22
mackthen could it be that my sound levels on my system are ... Jul 1 2003, 20:41
ZAKGUY I love the concept of this plug-in 'cause like... Aug 30 2003, 19:26
Chun-Yu That's weird - it goes on to the next song jus... Aug 30 2003, 19:34
ZAKGUY I assume that this is a Winamp plugin and if so, w... Aug 30 2003, 19:39
ZAKGUY Alright I answered my own question and it is a dif... Aug 30 2003, 19:45
Chun-Yu 2.91, from http://classic.winamp.com/. Aug 30 2003, 19:48
ZAKGUY I think I used to have that one and went back to a... Aug 30 2003, 19:56
askoff ZAKGUY: Maybay it's time for you to change aud... Aug 30 2003, 21:14
Pio2001 I've got a problem that sound a bit similar : ... Aug 30 2003, 21:48
ZAKGUY Whoa, you're a genius that worked. Thanks a b... Aug 31 2003, 00:57
Krobar Thanks for writing that plugin Chun-Yu,
I can pas... Nov 7 2003, 18:24
quazi this is weird. While using the plugin, I still go... Nov 21 2003, 20:41
ricky_casson Does anyone have any tips for what I should do to ... Dec 18 2003, 19:02
neithern I have read the source code of the output plugin, ... Jun 16 2004, 02:43
Chun-Yu The Wave volume slider may not work, but the main ... Jun 16 2004, 15:17
neithern QUOTE (Chun-Yu @ Jun 16 2004, 06:17 AM)T... Jun 17 2004, 01:47
hustbaer @ricky_casson:
ahm. i wouldn't want to use c#... Jun 29 2004, 01:05
hustbaer @Chun-Yu:
nice work :-)
i don't know if you a... Jun 29 2004, 02:04
nitecrawler Im using WA.
I'm Going Nutz... with this ... Aug 29 2004, 22:50
Chun-Yu <cough> foobar2000 </cough>
Another s... Aug 30 2004, 01:18
Sicter Is there any ASIO or KS solutions for DirectShow b... Sep 11 2004, 23:47
AstralStorm As far as I know, there's none.
DirectShow plu... Sep 12 2004, 11:42
Sicter Err, DirectShow plug-ins can be anything not just ... Sep 12 2004, 12:14
Vertigo Yes, you can pass directshow to winamp...otherwise... Mar 29 2005, 04:35
Steve Monks Hi, I've spent a little time reworking Chun-Yu... Dec 5 2005, 22:17
Steve Monks Looks like I spoke to soon about the stability. I... Dec 8 2005, 01:14
bansal98 QUOTE (Steve Monks @ Dec 8 2005, 05:44 AM)Loo... Dec 8 2005, 07:42
Steve Monks I could implement the volume control, but it defea... Dec 10 2005, 11:52
Steve Monks I've fixed the pause problem mentioned above (... Dec 10 2005, 20:10
bansal98 QUOTE (Steve Monks @ Dec 11 2005, 12:40 AM)I... Dec 12 2005, 07:14
Steve Monks Hi Manish, can you give me a little more details a... Dec 12 2005, 23:37
bansal98 Thanks Steve. The DSPs are working now.
Is there a... Dec 13 2005, 06:20
iTCHYmix Hello.
Good to see some progress on this (other t... Dec 16 2005, 09:21
Steve Monks Hi iTCHYmix,
thanks for the feedback. Yes, I... Dec 16 2005, 18:21
Steve Monks Hi all, there's an updated version of the Kern... Dec 24 2005, 17:24
Hyperion Thanks for your hard work,Steve! Dec 24 2005, 23:06
bansal98 Thanks a lot! Dec 27 2005, 08:01
Gabes Dad Steve,
Great work.
One question, does anyone els... Dec 28 2005, 20:39
Steve Monks Hmm, I see what you mean. Looks like the plugin is... Dec 28 2005, 21:45
Steve Monks I've posted a new version of the plugin (V2.4)... Dec 31 2005, 16:45
ivalladt Is Winamp 2 still downloadable from anywhere? Dec 31 2005, 19:07
Steve Monks QUOTE (ivalladt @ Dec 31 2005, 07:07 PM)Is Wi... Dec 31 2005, 19:56
punkrockdude Thanks for this plugin! My brother has tried t... Dec 31 2005, 20:30
Steve Monks Your welcome, I hope it does the trick for him, al... Dec 31 2005, 20:50
punkrockdude I am using E-MU 1820M with the latest 1.81 drivers... Jan 1 2006, 07:21
Steve Monks There's a new version of the plugin (V2.5) her... Jan 1 2006, 22:55
punkrockdude QUOTE (Steve Monks @ Jan 1 2006, 11:55 PM)I... Jan 2 2006, 03:48
callmeace Thankyou very much for your improvements and time ... Jan 2 2006, 05:38
Steve Monks Thanks for the feedback guys, it's really appr... Jan 2 2006, 13:00
punkrockdude QUOTE (Steve Monks @ Jan 2 2006, 02:00 PM)I... Jan 2 2006, 16:53
Steve Monks QUOTE (punkrockdude @ Jan 2 2006, 04:53 PM)I ... Jan 2 2006, 17:16
punkrockdude QUOTE (Steve Monks @ Jan 2 2006, 06:16 PM)QUO... Jan 2 2006, 17:56
punkrockdude Great work Steve! I can't seem to get any ... Jan 3 2006, 16:22
Steve Monks QUOTE (punkrockdude @ Jan 3 2006, 04:22 PM)Gr... Jan 3 2006, 16:29
Gabes Dad The new alpha plugin is working well here for me a... Jan 3 2006, 16:53
Steve Monks QUOTE (Gabes Dad @ Jan 3 2006, 04:53 PM)The n... Jan 3 2006, 17:35
punkrockdude When it stuttered...
What other stuff was running... Jan 3 2006, 17:39
Steve Monks QUOTE (punkrockdude @ Jan 3 2006, 05:39 PM)Wh... Jan 3 2006, 17:52
punkrockdude QUOTE (Steve Monks @ Jan 3 2006, 06:52 PM)Whe... Jan 3 2006, 19:56
Steve Monks Hi all.
V3.0 is now available for download. This ... Jan 3 2006, 23:10
Gabes Dad QUOTE (Gabes Dad @ Jan 3 2006, 10:53 AM)Edit:... Jan 4 2006, 17:27![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 22:54 |