diff options
author | Colin Guthrie | 2011-08-09 02:02:39 +0200 |
---|---|---|
committer | Colin Guthrie | 2011-08-10 14:22:55 +0200 |
commit | 479e7bcd6eb283750ee13d2270610d6d814add08 (patch) | |
tree | e3f3c58aefc0f4ab6f7af94125c8d10a7ce6b117 /src/mainwindow.h | |
parent | build-sys: Prepare 0.99.1 (diff) | |
download | pavucontrol-slx-479e7bcd6eb283750ee13d2270610d6d814add08.tar.gz pavucontrol-slx-479e7bcd6eb283750ee13d2270610d6d814add08.tar.xz pavucontrol-slx-479e7bcd6eb283750ee13d2270610d6d814add08.zip |
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.h | 9 |
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); |