Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
audio::client_mic_t Class Reference

Decodes a client's Opus microphone packets into a session mic. More...

#include <src/audio.h>

Public Member Functions

 client_mic_t (std::unique_ptr< platf::mic_writer_t > writer)
void write (std::uint16_t sequence, const std::uint8_t *data, std::size_t size)
 Packets older than the last one are dropped; lost ones are concealed.

Detailed Description

Decodes a client's Opus microphone packets into a session mic.

Definition at line 120 of file audio.h.

Constructor & Destructor Documentation

◆ client_mic_t()

audio::client_mic_t::client_mic_t ( std::unique_ptr< platf::mic_writer_t > writer)

Definition at line 504 of file audio.cpp.

Member Function Documentation

◆ write()

void audio::client_mic_t::write ( std::uint16_t sequence,
const std::uint8_t * data,
std::size_t size )

Packets older than the last one are dropped; lost ones are concealed.

Definition at line 514 of file audio.cpp.


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