Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Winamp Wrapper Issue (Read 4669 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Winamp Wrapper Issue

I recently switched over to foobar2000 from Winamp after it was announced that half the team was gone, the player was effectively dead, and I was moving to a new HDD and decided to take the opportunity to jump ship. I'm impressed with the app, it can do a lot of things Winamp couldn't, and I'm now a happy fb2k user.

That said, I do have a question...

Although foobar supports a LOT of formats (a lot of which I'd never heard of ), I've had to port a few format plugins over from Winamp as native fb2k ones do not exist yet. Now, for the most part the Winamp Wrapper works all well and fine. I've gotten MIDIs working through it (why doesn't fb2k have native support for such a basic standard, btw?) although you can't pause them, AUDs for a few old C&C rips I have lying about, and USFs for the PSF-based N64 music format. These I'm fine with, all good, work fine.

My problem concerns another PSF based format: GSF, the music format for GBA.

GSFs start and play in foobar. They pause happily enough. However, do anything that involves stopping one, like prev track, next track, play (as in restart current), random next or just plain stop, and 99 times out of 100 (I've still to figure out why it doesn't do this on those other 1 times), foobar continues playing the track for about a second, then freezes up for a further 4, then FINALLY spitting out a messagebox:

"error killing decode thread" (box title)
"error asking thread to die" (box contents)

A bit of internet research has pinned this down to a DirectSound error (and a Winamp one at that) so it has to be a problem with the wrapper, surely?

Now, before anyone says "omg, that format sucks" I don't really care at this point. I just want to be able to listen to my entire music set again flawlessly. Anyone able to point me in the right direction on this one? I'd really rather not have to install Winamp on this machine just for ONE music format.

Also, info on any fb2k native AUD, GSF, USF, MIDI, and uber-mod (all the formats the in_mod.dll of Winamp supports) plugins'd be nice, so I can stop using plugins meant for another player. ;P

Winamp Wrapper Issue

Reply #1
It is likely to be a problem with the wrapper.

There is a native plug-in for MIDI (requires a commercial DXi plug-in for wavetable support) and foo_dumb supports most of the formats that in_mod does. (And unlike MikMod and Modplug, it gets almost everything right.)

For AUD, it's such a simple ADPCM format, I'm surprised nobody has done it already. Maybe I will do that later.

GSF and USF, I deemed the existing implementations too annoying to port directly. Both are only safe for single-instance use, and are designed around the strange concept of the component creating its own playback thread and calling the core periodically with blocks of sample data. Since the source code is available, anybody is welcome to try and port directly from the existing implementations, but I would not recommend it, unless you have a lot of free time, and enjoy stress and pain.

Winamp Wrapper Issue

Reply #2
Bah. Looks like I'm stuck for the time being then unless CaitSith decides to make a foobar2000 port of HighlyAdvanced. =/ Thanks for the info on foo_dumb, I'll check that one out. Forgive my lack of knowledge, but what difference does the wavetable support make to MIDIs?

As for AUD: Hehehe, I look forward to that if you do it

EDIT: Formatting.

EDIT 2: WOW. I'm extremely impressed with foo_dumb - there's a mod file I have that always played out of tune in Winamp, and I always assumed that the mod creator just had no ear for music - turns out it was in_mod's fault o_o Thanks for that!

 

Winamp Wrapper Issue

Reply #3
Quote
Forgive my lack of knowledge, but what difference does the wavetable support make to MIDIs?

It makes them sound much better at the cost of the need to have a commercial DXi installed (like virtual sound canvas ;-)

foo_mod just uses the BASS-library - which was called the most accurate tracker-decoder..... probably rightly so..... until kode tuned foo_dumb. Its quite possible that foo_dumb is currently the most accurate module-decoder on the planet.... except of playing the mods directly on their coresponding tracker

- Lyx
I am arrogant and I can afford it because I deliver.

Winamp Wrapper Issue

Reply #4
Highly Advanced is "OK", although they did include some rather bloated easter eggs. When including easter eggs, they should not comprise over 40% of the resulting binary object.

Hmm, maybe I was a bit harsh. The hack fest I spoke of only applies to 64th Note, I have made no such attempts to bring Highly Advanced up to my own insane standards. If it's going to be for audio playback, it should support all of the capabilities expected by the host player, and it should be stable. (Now, that may also apply to Nezplug and Festalon, but Nezplug is all but deprecated, and Festalon has changed significantly and the problem will disappear in the next release, which should happen soonish...)

Winamp Wrapper Issue

Reply #5
Hm, interesting. So there might still be a chance of a HA port? That'd solve all my foobar issues in one shot...

Winamp Wrapper Issue

Reply #6
Quote
Also, info on any fb2k native AUD, GSF, USF, MIDI, and uber-mod (all the formats the in_mod.dll of Winamp supports) plugins'd be nice, so I can stop using plugins meant for another player. ;P
[a href="index.php?act=findpost&pid=270460"][{POST_SNAPBACK}][/a]

I agree!

Hey, where can I find this Winamp Wrapper?

Winamp Wrapper Issue

Reply #7
Quote
Hey, where can I find this Winamp Wrapper?
[{POST_SNAPBACK}][/a]

Winamp plugin Wrapper [a href="http://www.vesta.dti.ne.jp/~tsato/soft_fb2k.html] Home Page[/url]
Latest official Wrapper Version foo_winamp_input_041004.zip

Unofficial Wrapper test version foo_winamp_input2_041007.zip
Fixes flaws with in_midi,  i.e. no more error log creation when quiting foobar.
If you plan to use Winamps midi-plugin i recommend this version.

Winamp Wrapper Issue

Reply #8
Alright, thanks alot deus-ex. Cant wait to get home from work and try this out, should help alot, at least until (heres wishing) there are native and onpar quality input plugins for all the formats I use......