~ubuntu-branches/debian/sid/audacious-plugins/sid

« back to all changes in this revision

Viewing changes to src/skins/ui_svis.c

  • Committer: Bazaar Package Importer
  • Author(s): Bilal Akhtar
  • Date: 2011-04-10 18:56:21 UTC
  • mfrom: (1.1.14 upstream) (2.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110410185621-7eg1k5a7v3f4aqrn
Tags: 2.4.4-1
* New upstream release.
  - Fix FTBFS with GCC 4.5 (Closes: #621989)
* Upload to unstable.
* debian/control:
  - Update versioned dependencies according to upstream changes.
  - Bump Standards-Version to 3.9.2 (no changes needed).
  - Since the package will be building against the new FFMpeg libs,
    fix the problem of depending on old uninstallable libav*
    packages (Closes: #617603)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include "ui_vis.h"
30
30
#include "util.h"
31
31
#include "skins_cfg.h"
32
 
#include <audacious/plugin.h>
 
32
 
33
33
#include <string.h>
34
34
#include <ctype.h>
35
35
#include <gtk/gtkmain.h>
36
36
#include <gtk/gtkmarshal.h>
37
37
#include <gtk/gtkimage.h>
38
38
 
 
39
#include <audacious/drct.h>
 
40
#include <audacious/plugin.h>
 
41
 
39
42
#define UI_TYPE_SVIS           (ui_svis_get_type())
40
43
 
41
44
/* FIXME: Are the svis_scope_colors correct? */
322
325
    if (!config.scaled)
323
326
    {
324
327
        memset (rgb_data, 0, SVIS_WIDTH * SVIS_HEIGHT);
325
 
        if (config.vis_type == VIS_ANALYZER && !audacious_drct_get_paused ()
326
 
            && audacious_drct_get_playing ())
 
328
        if (config.vis_type == VIS_ANALYZER && !aud_drct_get_paused ()
 
329
            && aud_drct_get_playing ())
327
330
        {
328
331
            for (y = 0; y < SVIS_HEIGHT; y++)
329
332
            {
402
405
        memset (rgb_data, 0,
403
406
                SVIS_WIDTH * config.scale_factor * SVIS_HEIGHT *
404
407
                config.scale_factor);
405
 
        if (config.vis_type == VIS_ANALYZER && !audacious_drct_get_paused ()
406
 
            && audacious_drct_get_playing ())
 
408
        if (config.vis_type == VIS_ANALYZER && !aud_drct_get_paused ()
 
409
            && aud_drct_get_playing ())
407
410
        {
408
411
            for (y = 0; y < SVIS_HEIGHT; y++)
409
412
            {