[SDL] Winamp plugin help needed
Drew Vassallo
snurple at hotmail.com
Fri Apr 27 23:31:18 PDT 2001
Ok folks, I need some advice on debugging my plugin for Winamp using SDL.
I've gotten it to the point where SDL initializes, sets up a window (or
fullscreen, both work) and displays whatever I write to the surface.
When I close the plugin through winamp (i.e., turn off the plugin), I cannot
reopen it. The SDL_GetError() from SDL_Init() gives me "couldn't create
window"... even in fullscreen. Yes, I free the surface and use SDL_Quit()
when the plugin is commanded to shut down.
I have to close the Winamp program, then restart it in order to re-run my
plugin.
I presume that trying to use SDL_Quit(), then SDL_Init() again in order to
switch from fullscreen to windowed will not work, either, though I haven't
tried it. And I'd like that option.
In terms of passing back event keystrokes, I haven't even gotten into that
yet, but I assume it'll be difficult to pass commands through SDL back to
the parent window (Winamp). Is this true?
Any advice is much appreciated at this point.
--Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the SDL
mailing list