mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-01-28 22:01:50 +00:00
[Linux] Implement adaptive audio noice
This commit is contained in:
@@ -63,6 +63,17 @@ namespace AirPodsPackets
|
||||
static const QByteArray DISCONNECT_REQUEST = QByteArray::fromHex("00020000");
|
||||
}
|
||||
|
||||
// Adaptive Noise Packets
|
||||
namespace AdaptiveNoise
|
||||
{
|
||||
const QByteArray HEADER = QByteArray::fromHex("0400040009002E");
|
||||
|
||||
inline QByteArray getPacket(int level)
|
||||
{
|
||||
return HEADER + static_cast<char>(level) + QByteArray::fromHex("000000");
|
||||
}
|
||||
}
|
||||
|
||||
// Parsing Headers
|
||||
namespace Parse
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user