|
Hermes 0.7.0
Linux game streaming host
|
An isolated session's own PipeWire server. More...
Go to the source code of this file.
Classes | |
| class | platf::session_audio::server_t |
| PipeWire and WirePlumber running in a session's runtime directory. More... | |
Functions | |
| std::unique_ptr< server_t > | platf::session_audio::start (const std::string &runtime_dir, const std::string &sink, int channels, const std::string &mic) |
| Start a server in runtime_dir with sink as its only output and, if mic is not empty, a source of that name that open_mic(mic) feeds. | |
| std::unique_ptr< mic_t > | platf::session_audio::microphone (const std::string &pulse_server, const std::string &sink, const std::uint8_t *mapping, int channels, std::uint32_t sample_rate, std::uint32_t frame_size) |
| Record sink's monitor on the server at pulse_server. | |
| std::unique_ptr< mic_writer_t > | platf::session_audio::open_mic (const std::string &mic) |
| Open a session mic for writing 48 kHz mono samples, or nullptr. | |
An isolated session's own PipeWire server.
Definition in file session_audio.h.
| std::unique_ptr< mic_t > platf::session_audio::microphone | ( | const std::string & | pulse_server, |
| const std::string & | sink, | ||
| const std::uint8_t * | mapping, | ||
| int | channels, | ||
| std::uint32_t | sample_rate, | ||
| std::uint32_t | frame_size ) |
| std::unique_ptr< mic_writer_t > platf::session_audio::open_mic | ( | const std::string & | mic | ) |
Open a session mic for writing 48 kHz mono samples, or nullptr.
Definition at line 512 of file session_audio.cpp.
| std::unique_ptr< server_t > platf::session_audio::start | ( | const std::string & | runtime_dir, |
| const std::string & | sink, | ||
| int | channels, | ||
| const std::string & | mic ) |
Start a server in runtime_dir with sink as its only output and, if mic is not empty, a source of that name that open_mic(mic) feeds.
Definition at line 424 of file session_audio.cpp.