|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
#include <VoiceChatAudioRuntime.hpp>
Classes | |
| struct | Receiver |
| struct | Settings |
Public Types | |
| enum class | Codec : std::uint8_t { Pcm , Gsm610 } |
Public Member Functions | |
| AudioRuntime (audio::Runtime &audio) noexcept | |
| ~AudioRuntime () | |
| AudioRuntime (const AudioRuntime &)=delete | |
| AudioRuntime & | operator= (const AudioRuntime &)=delete |
| std::expected< void, std::string > | startCapture (Settings settings={}) |
| void | stopCapture () noexcept |
| std::expected< void, std::string > | pumpCapture (std::uint64_t tick) |
| bool | captureActive () const noexcept |
| bool | handleEvent (const packet::Event &event, std::uint32_t sourceId) |
| void | closeAllReceivers () noexcept |
Static Public Member Functions | |
| static constexpr bool | gsm610Supported () noexcept |
Definition at line 19 of file VoiceChatAudioRuntime.hpp.
|
strong |
| Enumerator | |
|---|---|
| Pcm | |
| Gsm610 | |
Definition at line 22 of file VoiceChatAudioRuntime.hpp.
|
explicitnoexcept |
Definition at line 46 of file VoiceChatAudioRuntime.cpp.
| monopoly::voicechat::AudioRuntime::~AudioRuntime | ( | ) |
Definition at line 51 of file VoiceChatAudioRuntime.cpp.
|
delete |
|
noexcept |
Definition at line 140 of file VoiceChatAudioRuntime.cpp.
|
noexcept |
Definition at line 491 of file VoiceChatAudioRuntime.cpp.
|
inlinestaticconstexprnoexcept |
Definition at line 57 of file VoiceChatAudioRuntime.hpp.
| bool monopoly::voicechat::AudioRuntime::handleEvent | ( | const packet::Event & | event, |
| std::uint32_t | sourceId | ||
| ) |
Definition at line 452 of file VoiceChatAudioRuntime.cpp.
|
delete |
| std::expected< void, std::string > monopoly::voicechat::AudioRuntime::pumpCapture | ( | std::uint64_t | tick | ) |
Definition at line 251 of file VoiceChatAudioRuntime.cpp.
| std::expected< void, std::string > monopoly::voicechat::AudioRuntime::startCapture | ( | Settings | settings = {} | ) |
Definition at line 57 of file VoiceChatAudioRuntime.cpp.
|
noexcept |
Definition at line 123 of file VoiceChatAudioRuntime.cpp.