diff options
| author | Graham Northup <grissess@nexusg.org> | 2018-09-06 03:48:45 -0400 | 
|---|---|---|
| committer | Graham Northup <grissess@nexusg.org> | 2018-09-06 03:48:45 -0400 | 
| commit | c96689f87d8cf3542f3d8028e5fb331e21855004 (patch) | |
| tree | 777456f84c9b5eadf08f51a3a60d5d466ee3fbf5 /packet.py | |
| parent | 44e1966aee28210facd2435a2289295eab157900 (diff) | |
Adding PCM sync
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') | 
