2 #include <Audio/AudioInterface.hpp>
4 #include <score/command/Dispatchers/SettingsCommandDispatcher.hpp>
6 #include <ossia/audio/pipewire_protocol.hpp>
9 #if defined(OSSIA_AUDIO_PIPEWIRE)
12 struct pipewire_context;
15 class QSocketNotifier;
19 class PipeWireAudioFactory final
23 SCORE_CONCRETE(
"687d49cf-b58d-430f-8358-ec02cb50be36")
26 PipeWireAudioFactory();
27 ~PipeWireAudioFactory() override;
29 bool available() const noexcept override;
31 initialize(Audio::Settings::Model& set, const
score::ApplicationContext& ctx) override;
34 QString prettyName() const override;
35 std::shared_ptr<ossia::audio_engine> make_engine(
36 const Audio::Settings::Model& set, const
score::ApplicationContext& ctx) override;
38 void setupSettingsWidget(
39 QWidget* w, QFormLayout* lay, Audio::Settings::Model& m, Audio::Settings::View& v,
40 score::SettingsCommandDispatcher& m_disp);
41 QWidget* make_settings(
42 Audio::Settings::Model& m, Audio::Settings::View& v,
43 score::SettingsCommandDispatcher& m_disp, QWidget* parent) override;
46 std::shared_ptr<ossia::pipewire_context> m_client{};
47 QSocketNotifier* m_fd{};
Base toolkit upon which the software is built.
Definition: Application.cpp:90