Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <glib.h>
#include <libaudcore/hook.h>
#include "misc.h"
#include "output.h"
#include "vis_runner.h"
Go to the source code of this file.
Classes | |
struct | VisHookItem |
Defines | |
#define | INTERVAL 30 |
Functions | |
G_LOCK_DEFINE_STATIC (mutex) | |
static gboolean | send_audio (void *unused) |
static gboolean | send_clear (void *unused) |
void | vis_runner_lock (void) |
void | vis_runner_unlock (void) |
gboolean | vis_runner_locked (void) |
void | vis_runner_flush (void) |
void | vis_runner_start_stop (gboolean new_playing, gboolean new_paused) |
void | vis_runner_pass_audio (gint time, gfloat *data, gint samples, gint channels, gint rate) |
static void | time_offset_cb (VisNode *vis_node, void *offset) |
void | vis_runner_time_offset (gint offset) |
void | vis_runner_add_hook (VisHookFunc func, void *user) |
void | vis_runner_remove_hook (VisHookFunc func) |
Variables | |
static gboolean | playing = FALSE |
static gboolean | paused = FALSE |
static gboolean | active = FALSE |
static GList * | hooks = NULL |
static VisNode * | current_node = NULL |
static GQueue | vis_list = G_QUEUE_INIT |
static gint | send_source = 0 |
static gint | clear_source = 0 |
static gboolean | locked = FALSE |
#define INTERVAL 30 |
Definition at line 29 of file vis_runner.c.
Referenced by send_audio(), vis_runner_pass_audio(), and vis_runner_start_stop().
G_LOCK_DEFINE_STATIC | ( | mutex | ) |
static gboolean send_audio | ( | void * | unused | ) | [static] |
Definition at line 43 of file vis_runner.c.
Referenced by vis_runner_start_stop().
static gboolean send_clear | ( | void * | unused | ) | [static] |
Definition at line 86 of file vis_runner.c.
Referenced by vis_runner_flush().
static void time_offset_cb | ( | VisNode * | vis_node, |
void * | offset | ||
) | [static] |
Definition at line 212 of file vis_runner.c.
Referenced by vis_runner_time_offset().
void vis_runner_add_hook | ( | VisHookFunc | func, |
void * | user | ||
) |
Definition at line 225 of file vis_runner.c.
Referenced by vis_load().
void vis_runner_flush | ( | void | ) |
Definition at line 115 of file vis_runner.c.
Referenced by flush(), and vis_runner_start_stop().
void vis_runner_lock | ( | void | ) |
Definition at line 98 of file vis_runner.c.
gboolean vis_runner_locked | ( | void | ) |
Definition at line 110 of file vis_runner.c.
Definition at line 149 of file vis_runner.c.
Referenced by write_processed().
void vis_runner_remove_hook | ( | VisHookFunc | func | ) |
Definition at line 238 of file vis_runner.c.
Referenced by vis_unload().
Definition at line 125 of file vis_runner.c.
Referenced by do_pause(), open_audio(), real_close(), vis_runner_add_hook(), and vis_runner_remove_hook().
void vis_runner_time_offset | ( | gint | offset | ) |
Definition at line 217 of file vis_runner.c.
Referenced by reset_time().
void vis_runner_unlock | ( | void | ) |
Definition at line 104 of file vis_runner.c.
Definition at line 37 of file vis_runner.c.
Referenced by audacious_rc_equalizer_activate(), vis_runner_pass_audio(), and vis_runner_start_stop().
gint clear_source = 0 |
Definition at line 41 of file vis_runner.c.
Referenced by send_clear(), vis_runner_flush(), and vis_runner_start_stop().
VisNode* current_node = NULL [static] |
Definition at line 39 of file vis_runner.c.
GList* hooks = NULL [static] |
Definition at line 38 of file vis_runner.c.
Referenced by send_audio(), vis_runner_add_hook(), vis_runner_remove_hook(), and vis_runner_start_stop().
Definition at line 96 of file vis_runner.c.
Referenced by vis_runner_lock(), vis_runner_locked(), and vis_runner_unlock().
Definition at line 37 of file vis_runner.c.
Definition at line 37 of file vis_runner.c.
Referenced by vis_runner_add_hook(), vis_runner_remove_hook(), and vis_runner_start_stop().
gint send_source = 0 [static] |
Definition at line 41 of file vis_runner.c.
Referenced by send_audio(), and vis_runner_start_stop().
GQueue vis_list = G_QUEUE_INIT [static] |
Definition at line 40 of file vis_runner.c.
Referenced by send_audio(), vis_runner_flush(), vis_runner_pass_audio(), and vis_runner_time_offset().