|
|
#1 |
|
Junior Member
Join Date: Oct 2009
Location: Løsning, Denmark
Posts: 3
|
WinAmp Event messages
I'm new to writing c++ plugin for a generic plugin.
It seems that the SDK and online help pretty incomplete. I can't seem to find a list of all the messages Winamp throws around like WA_PLAY, etc. Does anyone have them? Right now i'm searching for events that says when a song is played to the end. And how to retrieve song info like: title, artist, album, etc. Can anyone help me in the right direction? /Best regards Brian Nielsen |
|
|
|
|
|
#2 |
|
Senior Member
|
Open wa_ipc.h (it should be in the Winamp SDK), and you'll find all (?) messages there, with enough documentation to get you started.
The "events" are sent as WM_WA_IPC windows messages, with the event identifier as lParam, and additional information in the wParam. Besides the IPC_PLAYING_FILE/IPC_PLAYING_FILEW messages, which are sent when the playback is started, there are other callbacks, just search for 'IPC_CB_', they should be in one place. There are others too, just look around, but I doubt you'll find one for song ending. You can do that by Getting the current song length, and current position in the song, and compare them
Winamp integration plug-in with Windows 7 If you like this plug-in, why not buy me a coffee to keep me awake to work more on it?
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|