From c96689f87d8cf3542f3d8028e5fb331e21855004 Mon Sep 17 00:00:00 2001 From: Graham Northup Date: Thu, 6 Sep 2018 03:48:45 -0400 Subject: Adding PCM sync --- packet.py | 1 + 1 file changed, 1 insertion(+) (limited to 'packet.py') diff --git a/packet.py b/packet.py index 45308ce..5819a73 100644 --- a/packet.py +++ b/packet.py @@ -25,6 +25,7 @@ class CMD: PLAY = 3 # seconds, microseconds, frequency (Hz), amplitude (0.0 - 1.0), port CAPS = 4 # ports, client type (1), user ident (2-7) PCM = 5 # 16 samples, encoded S16_LE + PCMSYN = 6 # number of samples which should be buffered right now def itos(i): return struct.pack('>L', i).rstrip('\0') -- cgit v1.2.3-70-g09d2