aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/roar_output_plugin.h
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <maister@archlinux.us>2011-02-08 00:17:58 +0100
committerMax Kellermann <max@duempel.org>2011-03-16 17:57:47 +0100
commit1a954748a027aa5b4fc6c85b0ad96c2fa25d53b8 (patch)
tree36d5734e7dc2d9ae818cb652350d64f8e6746bbf /src/output/roar_output_plugin.h
parent2abad0f479e434b741d9564bf6b9afc95d7e5891 (diff)
downloadmpd-1a954748a027aa5b4fc6c85b0ad96c2fa25d53b8.tar.gz
mpd-1a954748a027aa5b4fc6c85b0ad96c2fa25d53b8.tar.xz
mpd-1a954748a027aa5b4fc6c85b0ad96c2fa25d53b8.zip
RoarAudio output plugin
Diffstat (limited to 'src/output/roar_output_plugin.h')
-rw-r--r--src/output/roar_output_plugin.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/output/roar_output_plugin.h b/src/output/roar_output_plugin.h
new file mode 100644
index 000000000..08e272007
--- /dev/null
+++ b/src/output/roar_output_plugin.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2003-2010 The Music Player Daemon Project
+ * Copyright (C) 2010-2011 Philipp 'ph3-der-loewe' Schafft
+ * Copyright (C) 2010-2011 Hans-Kristian 'maister' Arntzen
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+
+#ifndef __ROAR_OUTPUT_H
+#define __ROAR_OUTPUT_H
+
+#include <roaraudio.h>
+#include <glib.h>
+
+typedef struct roar
+{
+ roar_vs_t * vss;
+ int err;
+ char *host;
+ char *name;
+ int role;
+ struct roar_connection con;
+ struct roar_audio_info info;
+ GMutex *lock;
+ volatile bool alive;
+} roar_t;
+
+#endif