Page 1 of 1

Winamp 5.24 plugin's don't work in MM

Posted: Sat Jun 24, 2006 10:46 am
by Teknojnky
It seems the latest default winamp plugins no longer work with MM, mainly the direct sound, mp3, etc plugins.

I think the last version plugins I have that work are from winamp 5.21, but the 5.24 definately don't work or at least are not recognized by MM.

New Winamp API

Posted: Sat Jul 01, 2006 10:02 am
by jhannes
It seems like Winamp 5 introduced an API that will be used by many new plugins. This is a code example from the Winamp plug-in SDK (vis_test):

Code: Select all

HWND (*e)(embedWindowState *v);

// ...

*(void**)&e = (void *)SendMessage(this_mod->hwndParent,WM_WA_IPC,(LPARAM)0,IPC_GET_EMBEDIF);

if (!e)
{
  MessageBox(this_mod->hwndParent,"This plugin requires Winamp 5.0+","blah",MB_OK);
  return 1;
}
I have seen the "blah" message in some plugins, so this is clearly a problem.

MediaMonkey needs to support the WM_WA_IPC/IPC_GET_EMBEDIF message.