diff Plugins/Output/esd/esd.c @ 61:fa848bd484d8 trunk

[svn] Move plugins to Plugins/
author nenolod
date Fri, 28 Oct 2005 22:58:11 -0700
parents
children b04ce1c98b6f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Output/esd/esd.c	Fri Oct 28 22:58:11 2005 -0700
@@ -0,0 +1,49 @@
+
+/*      xmms - esound outputmkdir  plugin
+ *    Copyright (C) 1999      Galex Yen
+ *      
+ *      this program is free software
+ *      
+ *      Description:
+ *              This program is an output plugin for xmms v0.9 or greater.
+ *              The program uses the esound daemon to output audio in order
+ *              to allow more than one program to play audio on the same
+ *              device at the same time.
+ *
+ *              Contains code Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas,
+ *              Thomas Nillson and 4Front Technologies
+ *
+ */
+
+#include "esdout.h"
+
+#include <glib.h>
+#include <glib/gi18n.h>
+
+
+OutputPlugin esd_op = {
+    NULL,
+    NULL,
+    NULL,                       /* Description */
+    esdout_init,
+    esdout_about,
+    esdout_configure,
+    esdout_get_volume,
+    esdout_set_volume,
+    esdout_open,
+    esdout_write,
+    esdout_close,
+    esdout_flush,
+    esdout_pause,
+    esdout_free,
+    esdout_playing,
+    esdout_get_output_time,
+    esdout_get_written_time,
+};
+
+OutputPlugin *
+get_oplugin_info(void)
+{
+    esd_op.description = g_strdup_printf(_("eSound Output Plugin"));
+    return &esd_op;
+}