From e875da5d38df6cf82818929ac00d7993fc37ae42 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Mon, 22 Feb 2021 21:38:33 +0100
Subject: [PATCH] output/snapcast/protocol: swap "received" and "sent"

Snapcast's protocol documentation is wrong, see
https://github.com/badaix/snapcast/pull/811
---
 src/output/plugins/snapcast/Protocol.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/output/plugins/snapcast/Protocol.hxx b/src/output/plugins/snapcast/Protocol.hxx
index 577ffbecf..9a3a6a40c 100644
--- a/src/output/plugins/snapcast/Protocol.hxx
+++ b/src/output/plugins/snapcast/Protocol.hxx
@@ -41,8 +41,8 @@ struct SnapcastBase {
 	PackedLE16 type;
 	PackedLE16 id;
 	PackedLE16 refers_to;
-	SnapcastTimestamp received;
 	SnapcastTimestamp sent;
+	SnapcastTimestamp received;
 	PackedLE32 size;
 };