Mercurial > audlegacy
view src/audacious/formatter.h @ 3082:91df04ec5ef7
From: Daniel Drake <dsd@gentoo.org>
We don't need to check playback status 100 times per second. Just start
and stop the visualization when those operations actually happen.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Mon, 16 Jul 2007 13:31:51 -0500 |
parents | 193bae6b2c8f |
children |
line wrap: on
line source
#ifndef XMMS_FORMATTER_H #define XMMS_FORMATTER_H #include <glib.h> /** * Formatter: * @values: The stack of values used for replacement. * * Formatter objects contain id->replacement mapping tables. **/ typedef struct { gchar *values[256]; } Formatter; G_BEGIN_DECLS Formatter *formatter_new(void); void formatter_destroy(Formatter * formatter); void formatter_associate(Formatter * formatter, guchar id, gchar * value); void formatter_dissociate(Formatter * formatter, guchar id); gchar *formatter_format(Formatter * formatter, gchar * format); G_END_DECLS #endif