2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2021-03-03 15:15:24 +01:00
|
|
|
|
|
|
|
#ifndef MPD_PIPEWIRE_OUTPUT_PLUGIN_HXX
|
|
|
|
#define MPD_PIPEWIRE_OUTPUT_PLUGIN_HXX
|
|
|
|
|
2021-08-04 17:35:21 +02:00
|
|
|
class PipeWireOutput;
|
2021-10-18 23:51:52 +02:00
|
|
|
class PipeWireMixer;
|
2021-08-04 17:35:21 +02:00
|
|
|
|
2021-03-03 15:15:24 +01:00
|
|
|
extern const struct AudioOutputPlugin pipewire_output_plugin;
|
|
|
|
|
2021-10-18 23:51:52 +02:00
|
|
|
void
|
2021-10-19 08:58:47 +02:00
|
|
|
pipewire_output_set_mixer(PipeWireOutput &po, PipeWireMixer &pm) noexcept;
|
2021-10-18 23:51:52 +02:00
|
|
|
|
|
|
|
void
|
2021-10-19 08:58:47 +02:00
|
|
|
pipewire_output_clear_mixer(PipeWireOutput &po, PipeWireMixer &pm) noexcept;
|
2021-10-18 23:51:52 +02:00
|
|
|
|
2021-08-04 17:35:21 +02:00
|
|
|
void
|
|
|
|
pipewire_output_set_volume(PipeWireOutput &output, float volume);
|
|
|
|
|
2021-03-03 15:15:24 +01:00
|
|
|
#endif
|