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

#include <Gsm610Codec.hpp>

Classes

struct  Impl
 

Public Member Functions

 Encoder ()
 
 ~Encoder ()
 
 Encoder (Encoder &&) noexcept
 
Encoder & operator= (Encoder &&) noexcept
 
 Encoder (const Encoder &)=delete
 
Encoder & operator= (const Encoder &)=delete
 
bool available () const noexcept
 
std::expected< std::vector< std::uint8_t >, std::string > encodeU8 (std::span< const std::uint8_t > pcm)
 
void reset ()
 

Detailed Description

Definition at line 50 of file Gsm610Codec.hpp.

Constructor & Destructor Documentation

◆ Encoder() [1/3]

monopoly::voicechat::gsm610::Encoder::Encoder ( )

Definition at line 69 of file Gsm610Codec.cpp.

◆ ~Encoder()

monopoly::voicechat::gsm610::Encoder::~Encoder ( )
default

◆ Encoder() [2/3]

monopoly::voicechat::gsm610::Encoder::Encoder ( Encoder &&  )
defaultnoexcept

◆ Encoder() [3/3]

monopoly::voicechat::gsm610::Encoder::Encoder ( const Encoder &  )
delete

Member Function Documentation

◆ available()

bool monopoly::voicechat::gsm610::Encoder::available ( ) const
noexcept

Definition at line 78 of file Gsm610Codec.cpp.

◆ encodeU8()

std::expected< std::vector< std::uint8_t >, std::string > monopoly::voicechat::gsm610::Encoder::encodeU8 ( std::span< const std::uint8_t >  pcm)

Definition at line 90 of file Gsm610Codec.cpp.

◆ operator=() [1/2]

Encoder & monopoly::voicechat::gsm610::Encoder::operator= ( const Encoder &  )
delete

◆ operator=() [2/2]

Encoder & monopoly::voicechat::gsm610::Encoder::operator= ( Encoder &&  )
defaultnoexcept

◆ reset()

void monopoly::voicechat::gsm610::Encoder::reset ( )

Definition at line 83 of file Gsm610Codec.cpp.


The documentation for this class was generated from the following files: