group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
VoiceDecoder Class Reference

#include <VoiceCodec.hpp>

Public Member Functions

 VoiceDecoder ()=default
 ~VoiceDecoder ()
 VoiceDecoder (const VoiceDecoder &)=delete
VoiceDecoderoperator= (const VoiceDecoder &)=delete
 VoiceDecoder (VoiceDecoder &&other) noexcept
VoiceDecoderoperator= (VoiceDecoder &&other) noexcept
bool init ()
bool ready () const noexcept
std::vector< float > decode (std::span< const std::uint8_t > opus, std::uint8_t frameMs)
std::vector< float > conceal (std::uint8_t frameMs)
void reset ()

Private Attributes

OpusDecoder * decoder_ = nullptr

Constructor & Destructor Documentation

◆ VoiceDecoder() [1/3]

VoiceDecoder::VoiceDecoder ( )
default
Here is the caller graph for this function:

◆ ~VoiceDecoder()

VoiceDecoder::~VoiceDecoder ( )
Here is the call graph for this function:

◆ VoiceDecoder() [2/3]

VoiceDecoder::VoiceDecoder ( const VoiceDecoder & )
delete
Here is the call graph for this function:

◆ VoiceDecoder() [3/3]

VoiceDecoder::VoiceDecoder ( VoiceDecoder && other)
noexcept
Here is the call graph for this function:

Member Function Documentation

◆ conceal()

std::vector< float > VoiceDecoder::conceal ( std::uint8_t frameMs)
nodiscard
Here is the caller graph for this function:

◆ decode()

std::vector< float > VoiceDecoder::decode ( std::span< const std::uint8_t > opus,
std::uint8_t frameMs )
nodiscard
Here is the caller graph for this function:

◆ init()

bool VoiceDecoder::init ( )
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

VoiceDecoder & VoiceDecoder::operator= ( const VoiceDecoder & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

VoiceDecoder & VoiceDecoder::operator= ( VoiceDecoder && other)
noexcept
Here is the call graph for this function:

◆ ready()

bool VoiceDecoder::ready ( ) const
inlinenodiscardnoexcept

◆ reset()

void VoiceDecoder::reset ( )
Here is the caller graph for this function:

Member Data Documentation

◆ decoder_

OpusDecoder* VoiceDecoder::decoder_ = nullptr
private

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