#include <VoiceCapture.hpp>
◆ framePassesNoiseGate()
| bool VoiceCapture::framePassesNoiseGate |
( |
std::span< const float > | frame | ) |
const |
|
nodiscardprivatenoexcept |
◆ init()
| bool VoiceCapture::init |
( |
std::string_view | recordingDeviceName = {} | ) |
|
◆ poll()
◆ quit()
| void VoiceCapture::quit |
( |
| ) |
|
◆ ready()
| bool VoiceCapture::ready |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ setPushToTalk()
| void VoiceCapture::setPushToTalk |
( |
bool | active | ) |
|
◆ setRecordingDeviceName()
| void VoiceCapture::setRecordingDeviceName |
( |
std::string_view | name | ) |
|
◆ transmitting()
| bool VoiceCapture::transmitting |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ capturePcm_
| std::vector<float> VoiceCapture::capturePcm_ |
|
private |
◆ captureReadOffset_
| std::size_t VoiceCapture::captureReadOffset_ = 0 |
|
private |
◆ captureStream_
| SDL_AudioStream* VoiceCapture::captureStream_ = nullptr |
|
private |
◆ encoder_
◆ kFrameSamples
◆ kMaxAccumulatedSamples
| std::size_t VoiceCapture::kMaxAccumulatedSamples = static_cast<std::size_t>(kFrameSamples * 8) |
|
staticconstexprprivate |
◆ nextSequence_
| std::uint16_t VoiceCapture::nextSequence_ = 0 |
|
private |
◆ recordingDeviceName_
| std::string VoiceCapture::recordingDeviceName_ |
|
private |
◆ transmitting_
| bool VoiceCapture::transmitting_ = false |
|
private |
The documentation for this class was generated from the following files: