/xbmc/visualizations/Goom/goom2k4-0/src/goom.h

http://github.com/xbmc/xbmc · C++ Header · 30 lines · 13 code · 7 blank · 10 comment · 0 complexity · b64011b2124f7f6d634b711a2917feb5 MD5 · raw file

  1. #ifndef _GOOMCORE_H
  2. #define _GOOMCORE_H
  3. #include "goom_config.h"
  4. #include "goom_plugin_info.h"
  5. #include "goomsl.h"
  6. #define NB_FX 10
  7. PluginInfo *goom_init (guint32 resx, guint32 resy);
  8. void goom_set_resolution (PluginInfo *goomInfo, guint32 resx, guint32 resy);
  9. /*
  10. * forceMode == 0 : do nothing
  11. * forceMode == -1 : lock the FX
  12. * forceMode == 1..NB_FX : force a switch to FX n# forceMode
  13. *
  14. * songTitle = pointer to the title of the song...
  15. * - NULL if it is not the start of the song
  16. * - only have a value at the start of the song
  17. */
  18. guint32 *goom_update (PluginInfo *goomInfo, gint16 data[2][512], int forceMode, float fps,
  19. char *songTitle, char *message);
  20. /* returns 0 if the buffer wasn't accepted */
  21. int goom_set_screenbuffer(PluginInfo *goomInfo, void *buffer);
  22. void goom_close (PluginInfo *goomInfo);
  23. #endif