View Single Post
Old 10th April 2001, 19:40   #4
Abraxa
Senior Member
 
Join Date: Nov 2000
Location: germany
Posts: 201
If you hook into winamp's wndProc() and catch the WM_USER+2 message then the input plugin tells winamp that the data stream has ended. After ~50ms winamp's internal buffer is then empty, too, and it will go on with the next file (if any).

So you can catch the 'stream has ended' notification, wait about 50ms and if winamp is playing after the timer fired you know that winamp is playing the next track.

Regards,
-Søren
Abraxa is offline   Reply With Quote