Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <glib.h>
#include <pthread.h>
#include <string.h>
#include "output.h"
#include "vis_runner.h"
#include "visualization.h"
Go to the source code of this file.
Classes | |
struct | VisNode |
Macros | |
#define | INTERVAL 30 /* milliseconds */ |
Functions | |
static void | vis_node_free (VisNode *node) |
static bool_t | send_audio (void *unused) |
static bool_t | send_clear (void *unused) |
void | vis_runner_lock (void) |
void | vis_runner_unlock (void) |
bool_t | vis_runner_locked (void) |
void | vis_runner_flush (void) |
void | vis_runner_start_stop (bool_t new_playing, bool_t new_paused) |
void | vis_runner_pass_audio (int time, float *data, int samples, int channels, int rate) |
static void | time_offset_cb (VisNode *vis_node, void *offset) |
void | vis_runner_time_offset (int offset) |
void | vis_runner_enable (bool_t enable) |
Variables | |
static pthread_mutex_t | mutex = PTHREAD_MUTEX_INITIALIZER |
static bool_t | enabled = FALSE |
static bool_t | playing = FALSE |
static bool_t | paused = FALSE |
static bool_t | active = FALSE |
static VisNode * | current_node = NULL |
static int | current_frames |
static GQueue | vis_list = G_QUEUE_INIT |
static int | send_source = 0 |
static int | clear_source = 0 |
static bool_t | locked = FALSE |
#define INTERVAL 30 /* milliseconds */ |
Definition at line 30 of file vis_runner.c.
Referenced by send_audio(), vis_runner_pass_audio(), and vis_runner_start_stop().
|
static |
Definition at line 52 of file vis_runner.c.
Referenced by vis_runner_start_stop().
|
static |
Definition at line 93 of file vis_runner.c.
Referenced by vis_runner_flush().
|
static |
Definition at line 228 of file vis_runner.c.
Referenced by vis_runner_time_offset().
|
static |
Definition at line 46 of file vis_runner.c.
Referenced by send_audio(), vis_runner_flush(), and vis_runner_pass_audio().
void vis_runner_enable | ( | bool_t | enable | ) |
Definition at line 241 of file vis_runner.c.
Referenced by vis_func_add(), and vis_func_remove().
void vis_runner_flush | ( | void | ) |
Definition at line 123 of file vis_runner.c.
Referenced by flush(), and vis_runner_start_stop().
void vis_runner_lock | ( | void | ) |
Definition at line 106 of file vis_runner.c.
bool_t vis_runner_locked | ( | void | ) |
Definition at line 118 of file vis_runner.c.
Definition at line 162 of file vis_runner.c.
Referenced by write_processed().
Definition at line 138 of file vis_runner.c.
Referenced by do_pause(), open_audio(), real_close(), and vis_runner_enable().
void vis_runner_time_offset | ( | int | offset | ) |
Definition at line 233 of file vis_runner.c.
Referenced by flush(), and reset_time().
void vis_runner_unlock | ( | void | ) |
Definition at line 112 of file vis_runner.c.
Definition at line 40 of file vis_runner.c.
Referenced by vis_runner_pass_audio(), and vis_runner_start_stop().
|
static |
Definition at line 44 of file vis_runner.c.
Referenced by send_clear(), vis_runner_flush(), and vis_runner_start_stop().
|
static |
Definition at line 42 of file vis_runner.c.
Referenced by vis_runner_pass_audio().
Definition at line 41 of file vis_runner.c.
Definition at line 39 of file vis_runner.c.
Referenced by do_enable(), plugin_set_enabled(), vis_runner_enable(), and vis_runner_start_stop().
Definition at line 104 of file vis_runner.c.
Referenced by vis_runner_lock(), vis_runner_locked(), and vis_runner_unlock().
|
static |
Definition at line 38 of file vis_runner.c.
Referenced by send_audio(), send_clear(), vis_runner_enable(), vis_runner_lock(), and vis_runner_unlock().
Definition at line 40 of file vis_runner.c.
Referenced by vis_runner_enable(), and vis_runner_start_stop().
Definition at line 40 of file vis_runner.c.
Referenced by vis_runner_enable(), and vis_runner_start_stop().
|
static |
Definition at line 44 of file vis_runner.c.
Referenced by send_audio(), and vis_runner_start_stop().
|
static |
Definition at line 43 of file vis_runner.c.
Referenced by send_audio(), vis_runner_flush(), vis_runner_pass_audio(), and vis_runner_time_offset().