aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/roar_output_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/roar_output_plugin.h')
-rw-r--r--src/output/roar_output_plugin.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/output/roar_output_plugin.h b/src/output/roar_output_plugin.h
index 08e272007..e6eff1e08 100644
--- a/src/output/roar_output_plugin.h
+++ b/src/output/roar_output_plugin.h
@@ -22,20 +22,14 @@
#ifndef __ROAR_OUTPUT_H
#define __ROAR_OUTPUT_H
-#include <roaraudio.h>
-#include <glib.h>
+#include <stdbool.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;
+struct roar;
+
+int
+roar_output_get_volume(struct roar *roar);
+
+bool
+roar_output_set_volume(struct roar *roar, unsigned volume);
#endif