|
std::string | get_default_sink_name () |
|
std::string | get_monitor_name (const std::string &sink_name) |
|
int | init () |
|
bool | is_sink_available (const std::string &sink) override |
| Check if the audio sink is available in the system.
|
|
int | load_null (const char *name, const std::uint8_t *channel_mapping, int channels) |
|
std::unique_ptr< mic_t > | microphone (const std::uint8_t *mapping, int channels, std::uint32_t sample_rate, std::uint32_t frame_size) override |
|
int | set_sink (const std::string &sink) override |
|
std::optional< sink_t > | sink_info () override |
|
int | unload_null (std::uint32_t i) |
|
|
ctx_t | ctx |
|
std::unique_ptr< safe::event_t< ctx_event_e > > | events |
|
std::unique_ptr< std::function< void(ctx_t::pointer)> > | events_cb |
|
struct { | |
|
std::uint32_t stereo = PA_INVALID_INDEX | |
|
std::uint32_t surround51 = PA_INVALID_INDEX | |
|
std::uint32_t surround71 = PA_INVALID_INDEX | |
|
} | index | |
|
loop_t | loop |
|
std::string | requested_sink |
|
std::thread | worker |
|
◆ is_sink_available()
bool platf::pa::server_t::is_sink_available |
( |
const std::string & | sink | ) |
|
|
inlineoverridevirtual |
Check if the audio sink is available in the system.
- Parameters
-
- Returns
- True if available, false otherwise.
Implements platf::audio_control_t.
◆ microphone()
std::unique_ptr< mic_t > platf::pa::server_t::microphone |
( |
const std::uint8_t * | mapping, |
|
|
int | channels, |
|
|
std::uint32_t | sample_rate, |
|
|
std::uint32_t | frame_size ) |
|
inlineoverridevirtual |
◆ set_sink()
int platf::pa::server_t::set_sink |
( |
const std::string & | sink | ) |
|
|
inlineoverridevirtual |
◆ sink_info()
std::optional< sink_t > platf::pa::server_t::sink_info |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: