summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-08-09 02:02:39 +0200
committerColin Guthrie <colin@mageia.org>2011-08-10 14:22:55 +0200
commit479e7bcd6eb283750ee13d2270610d6d814add08 (patch)
treee3f3c58aefc0f4ab6f7af94125c8d10a7ce6b117 /src/mainwindow.h
parent546e67904788639d6c27a173f57f29bcc46ea410 (diff)
Add UI to select the formats supported by the receiver attached to a digitial sink
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 559b639..dd8df6c 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -23,7 +23,9 @@
#include "pavucontrol.h"
#include <pulse/ext-stream-restore.h>
-
+#if HAVE_EXT_DEVICE_RESTORE_API
+# include <pulse/ext-device-restore.h>
+#endif
class CardWidget;
class SinkWidget;
@@ -39,7 +41,7 @@ public:
virtual ~MainWindow();
void updateCard(const pa_card_info &info);
- void updateSink(const pa_sink_info &info);
+ bool updateSink(const pa_sink_info &info);
void updateSource(const pa_source_info &info);
void updateSinkInput(const pa_sink_input_info &info);
void updateSourceOutput(const pa_source_output_info &info);
@@ -47,6 +49,9 @@ public:
void updateServer(const pa_server_info &info);
void updateVolumeMeter(uint32_t source_index, uint32_t sink_input_index, double v);
void updateRole(const pa_ext_stream_restore_info &info);
+#if HAVE_EXT_DEVICE_RESTORE_API
+ void updateDeviceInfo(const pa_ext_device_restore_info &info);
+#endif
void removeCard(uint32_t index);
void removeSink(uint32_t index);