ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
tcp_client_audio_packet_t Struct Reference

Audio packet for async network transmission. More...

#include <lib/network/tcp/client.h>

Data Fields

uint8_t data [4096]
 
size_t size
 
uint16_t frame_sizes [48]
 
int frame_count
 

Detailed Description

Audio packet for async network transmission.

Queued by audio capture thread and sent by audio sender thread to decouple audio processing from network I/O blocking.

Definition at line 72 of file lib/network/tcp/client.h.

Field Documentation

◆ data

uint8_t tcp_client_audio_packet_t::data[4096]

Opus-encoded audio data

Definition at line 73 of file lib/network/tcp/client.h.

◆ frame_count

int tcp_client_audio_packet_t::frame_count

Number of frames in packet

Definition at line 76 of file lib/network/tcp/client.h.

◆ frame_sizes

uint16_t tcp_client_audio_packet_t::frame_sizes[48]

Individual frame sizes for Opus batching

Definition at line 75 of file lib/network/tcp/client.h.

◆ size

size_t tcp_client_audio_packet_t::size

Size of encoded data

Definition at line 74 of file lib/network/tcp/client.h.


The documentation for this struct was generated from the following file: