vis

vis

Synopsis




enum                VisType;
enum                AnalyzerMode;
enum                AnalyzerType;
enum                ScopeMode;
enum                VoiceprintMode;
enum                VUMode;
enum                RefreshRate;
enum                FalloffSpeed;
#define             VIS                                 (x)
                    Vis;
void                vis_draw                            (Widget *w);
void                vis_draw_pixel                      (Vis *vis,
                                                         guchar *texture,
                                                         gint x,
                                                         gint y,
                                                         guint8 colour);
Vis*                create_vis                          (GList **wlist,
                                                         GdkPixmap *parent,
                                                         GdkWindow *window,
                                                         GdkGC *gc,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gboolean doublesize);
void                vis_timeout_func                    (Vis *vis,
                                                         guchar *data);
void                vis_clear_data                      (Vis *vis);
void                vis_clear                           (Vis *vis);
void                vis_set_doublesize                  (Vis *vis,
                                                         gboolean doublesize);
void                vis_set_window                      (Vis *vis,
                                                         GdkWindow *window);

Description

Details

enum VisType

typedef enum {
    VIS_ANALYZER, VIS_SCOPE, VIS_VOICEPRINT, VIS_OFF
} VisType;


enum AnalyzerMode

typedef enum {
    ANALYZER_NORMAL, ANALYZER_FIRE, ANALYZER_VLINES
} AnalyzerMode;


enum AnalyzerType

typedef enum {
    ANALYZER_LINES, ANALYZER_BARS
} AnalyzerType;


enum ScopeMode

typedef enum {
    SCOPE_DOT, SCOPE_LINE, SCOPE_SOLID
} ScopeMode;


enum VoiceprintMode

typedef enum {
  VOICEPRINT_NORMAL, VOICEPRINT_FIRE, VOICEPRINT_ICE
} VoiceprintMode;


enum VUMode

typedef enum {
    VU_NORMAL, VU_SMOOTH
} VUMode;


enum RefreshRate

typedef enum {
    REFRESH_FULL, REFRESH_HALF, REFRESH_QUARTER, REFRESH_EIGTH
} RefreshRate;


enum FalloffSpeed

typedef enum {
    FALLOFF_SLOWEST, FALLOFF_SLOW, FALLOFF_MEDIUM, FALLOFF_FAST,
    FALLOFF_FASTEST
} FalloffSpeed;


VIS()

#define VIS(x)  ((Vis *)(x))

x :


Vis

typedef struct {
    Widget vs_widget;
    GdkWindow *vs_window;
    gfloat vs_data[75], vs_peak[75], vs_peak_speed[75];
    gint vs_refresh_delay;
    gboolean vs_doublesize;
} Vis;


vis_draw ()

void                vis_draw                            (Widget *w);

w :


vis_draw_pixel ()

void                vis_draw_pixel                      (Vis *vis,
                                                         guchar *texture,
                                                         gint x,
                                                         gint y,
                                                         guint8 colour);

vis :

texture :

x :

y :

colour :


create_vis ()

Vis*                create_vis                          (GList **wlist,
                                                         GdkPixmap *parent,
                                                         GdkWindow *window,
                                                         GdkGC *gc,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gboolean doublesize);

wlist :

parent :

window :

gc :

x :

y :

width :

doublesize :

Returns :


vis_timeout_func ()

void                vis_timeout_func                    (Vis *vis,
                                                         guchar *data);

vis :

data :


vis_clear_data ()

void                vis_clear_data                      (Vis *vis);

vis :


vis_clear ()

void                vis_clear                           (Vis *vis);

vis :


vis_set_doublesize ()

void                vis_set_doublesize                  (Vis *vis,
                                                         gboolean doublesize);

vis :

doublesize :


vis_set_window ()

void                vis_set_window                      (Vis *vis,
                                                         GdkWindow *window);

vis :

window :