|
|
#1 |
|
Junior Member
|
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? |
|
|
|
|
|
#2 |
|
Banned
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.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|