Babel
1
The voip software that only works on your local network
Loading...
Searching...
No Matches
Packet.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2024
3
** record_compress_decompress_play
4
** File description:
5
** Packet.hpp
6
*/
7
13
#pragma once
14
15
#include <vector>
16
17
namespace
Compressor
18
{
22
struct
Packet
{
23
unsigned
int
size
= 0;
24
unsigned
int
maxPacketSize
= 4000;
25
unsigned
int
sampleRate
= 44100;
26
std::vector<unsigned char>
data
;
27
};
28
}
Compressor
Definition
Manager.hpp:28
Compressor::Packet
Structure representing a packet of compressed audio data.
Definition
Packet.hpp:22
Compressor::Packet::sampleRate
unsigned int sampleRate
Definition
Packet.hpp:25
Compressor::Packet::maxPacketSize
unsigned int maxPacketSize
Definition
Packet.hpp:24
Compressor::Packet::size
unsigned int size
Definition
Packet.hpp:23
Compressor::Packet::data
std::vector< unsigned char > data
Definition
Packet.hpp:26
include
Compressor
Packet.hpp
Generated on Sun Feb 16 2025 23:01:55 for Babel by
1.12.0