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

Classes

class  Decoder
 
class  Encoder
 
struct  WireFormat
 

Functions

bool matchesRetailWireFormat (const packet::Event &event) noexcept
 
constexpr WireFormat retailWireFormat () noexcept
 

Variables

constexpr std::uint16_t FormatTag = 0x0031u
 
constexpr std::uint32_t SampleRate = 11025u
 
constexpr std::uint16_t SamplesPerFrame = 160u
 
constexpr std::uint16_t SamplesPerBlock = 320u
 
constexpr std::uint16_t BlockAlign = 65u
 
constexpr std::uint32_t AverageBytesPerSecond = 2239u
 

Function Documentation

◆ matchesRetailWireFormat()

bool monopoly::voicechat::gsm610::matchesRetailWireFormat ( const packet::Event &  event)
noexcept

Definition at line 43 of file Gsm610Codec.cpp.

◆ retailWireFormat()

constexpr WireFormat monopoly::voicechat::gsm610::retailWireFormat ( )
constexprnoexcept

Definition at line 28 of file Gsm610Codec.hpp.

Variable Documentation

◆ AverageBytesPerSecond

constexpr std::uint32_t monopoly::voicechat::gsm610::AverageBytesPerSecond = 2239u
inlineconstexpr

Definition at line 20 of file Gsm610Codec.hpp.

◆ BlockAlign

constexpr std::uint16_t monopoly::voicechat::gsm610::BlockAlign = 65u
inlineconstexpr

Definition at line 19 of file Gsm610Codec.hpp.

◆ FormatTag

constexpr std::uint16_t monopoly::voicechat::gsm610::FormatTag = 0x0031u
inlineconstexpr

Definition at line 15 of file Gsm610Codec.hpp.

◆ SampleRate

constexpr std::uint32_t monopoly::voicechat::gsm610::SampleRate = 11025u
inlineconstexpr

Definition at line 16 of file Gsm610Codec.hpp.

◆ SamplesPerBlock

constexpr std::uint16_t monopoly::voicechat::gsm610::SamplesPerBlock = 320u
inlineconstexpr

Definition at line 18 of file Gsm610Codec.hpp.

◆ SamplesPerFrame

constexpr std::uint16_t monopoly::voicechat::gsm610::SamplesPerFrame = 160u
inlineconstexpr

Definition at line 17 of file Gsm610Codec.hpp.