diff options
Diffstat (limited to 'packet.py')
-rw-r--r-- | packet.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') |