Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::voicechat::legacy Namespace Reference

Functions

bool compressorSupported (std::wstring_view name) noexcept
 
std::expected< AudioRuntime::Settings, std::string > captureSettings (const rules::VoiceChatOptions &options)
 

Variables

constexpr int SamplesPerSecond = 11025
 
constexpr int BitsPerSample = 8
 
constexpr int Channels = 1
 
constexpr std::size_t MaxCompressors = 50
 
constexpr std::array< std::wstring_view, 2 > CompressorNames
 

Function Documentation

◆ captureSettings()

std::expected< AudioRuntime::Settings, std::string > monopoly::voicechat::legacy::captureSettings ( const rules::VoiceChatOptions &  options)

Definition at line 14 of file VoiceChatLegacyContract.cpp.

◆ compressorSupported()

bool monopoly::voicechat::legacy::compressorSupported ( std::wstring_view  name)
noexcept

Definition at line 7 of file VoiceChatLegacyContract.cpp.

Variable Documentation

◆ BitsPerSample

constexpr int monopoly::voicechat::legacy::BitsPerSample = 8
inlineconstexpr

Definition at line 14 of file VoiceChatLegacyContract.hpp.

◆ Channels

constexpr int monopoly::voicechat::legacy::Channels = 1
inlineconstexpr

Definition at line 15 of file VoiceChatLegacyContract.hpp.

◆ CompressorNames

constexpr std::array<std::wstring_view, 2> monopoly::voicechat::legacy::CompressorNames
inlineconstexpr
Initial value:
{
L"No Compression",
L"GSM 6.10"
}
unsigned index

Definition at line 18 of file VoiceChatLegacyContract.hpp.

◆ MaxCompressors

constexpr std::size_t monopoly::voicechat::legacy::MaxCompressors = 50
inlineconstexpr

Definition at line 16 of file VoiceChatLegacyContract.hpp.

◆ SamplesPerSecond

constexpr int monopoly::voicechat::legacy::SamplesPerSecond = 11025
inlineconstexpr

Definition at line 13 of file VoiceChatLegacyContract.hpp.