Iron Curtain

From SlugWiki
Revision as of 00:59, 3 March 2008 by ARWest (Talk)

Jump to: navigation, search

Overview

An LED display built out of LED boards from some dead guy at TEP.

XMMS Plugin

Use the functions in xmms-1.2.11/libxmms/xmmsctrl.h to get data other than frequency and PCM data. Useful functions include:

gint xmms_remote_get_output_time(gint session);
gint xmms_remote_get_playlist_length(gint session);
gchar *xmms_remote_get_playlist_file(gint session, gint pos);
gchar *xmms_remote_get_playlist_title(gint session, gint pos);
gint xmms_remote_get_output_time(gint session);
gboolean xmms_remote_is_playing(gint session);
gboolean xmms_remote_is_paused(gint session);
gboolean xmms_remote_is_shuffle(gint session);
gboolean xmms_remote_is_repeat(gint session);
int xmms_remote_get_main_volume(gint session);
int xmms_remote_get_balance(gint session);
int xmms_remote_get_playlist_pos(gint session);

Data format streamed from the XMMS Plugin to user programs via named_pipes


Each named pipe should have only one user. The current named pipes are given below. Contact Lyric if you want one.


{| border="1"
|-
| Pipe Name
| User
|-
| magical_trevor
| lyric 
|-
| corn_cob 
| arwest
|-
| hash_pipe
| natech
|}