|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Audio batch packet structure (Packet Type 28) More...
#include <lib/network/packet.h>
Data Fields | |
| uint32_t | batch_count |
| Number of audio chunks in this batch (usually AUDIO_BATCH_COUNT = 32) | |
| uint32_t | total_samples |
| Total audio samples across all chunks (typically 8192) | |
| uint32_t | sample_rate |
| Sample rate in Hz (e.g., 44100, 48000) | |
| uint32_t | channels |
| Number of audio channels (1=mono, 2=stereo) | |
Audio batch packet structure (Packet Type 28)
Contains multiple audio chunks batched together for efficiency. Reduces packet overhead by aggregating 32 chunks (8192 samples) per packet.