Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 16th June 2005, 10:22   #1
PostaL2600
Junior Member
 
Join Date: Jun 2005
Location: Hunedoara/Timisoara>Romania
Posts: 7
Send a message via ICQ to PostaL2600 Send a message via Yahoo to PostaL2600
vis plugin problem

We are now working on a vis plugin for winamp (not something very funky, we are kind of beginers in this field) and we are stuck on a plroblem: we used the render function to render the plugin, right?In this render function we have another function to check for key strokes, right? But when we pause the winamp from the plugin or from the winamp itself, the plugin doesn't go anymore in the render function and also the function how reads the key is not accesible anymore.

So the question is: were to put the readkey function for the plugin so when the plugin is pause you can unpause it from the plugin?
PostaL2600 is offline   Reply With Quote
Old 24th June 2005, 01:24   #2
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
Winamp stops calling the plug-ins render function when it's not playing. You must check for the keystrokes in the windows window procedure instead. Render should only process vis data and render it on screen, not anything else. Doing anything else in render() only hurts the FPS.
saivert is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump